Skip to content

Commit

Permalink
fix class names
Browse files Browse the repository at this point in the history
  • Loading branch information
franzose committed Jun 13, 2022
1 parent 2b249ce commit 1466d9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/FunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Franzose\DoctrineBulkInsert\Tests;

use Doctrine\DBAL\Platforms\PostgreSqlPlatform;
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\DBAL\Schema\Identifier;
use function Franzose\DoctrineBulkInsert\extract_columns;
use function Franzose\DoctrineBulkInsert\parameters;
Expand Down Expand Up @@ -71,7 +71,7 @@ public function testTypes(): void

public function testSql(): void
{
$sql = sql(new PostgreSqlPlatform(), new Identifier('foo'), static::DATASET);
$sql = sql(new PostgreSQLPlatform(), new Identifier('foo'), static::DATASET);
$expected = 'INSERT INTO foo (foo, bar, qux) VALUES (?, ?, ?), (?, ?, ?);';

static::assertEquals($expected, $sql);
Expand Down
4 changes: 2 additions & 2 deletions tests/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Franzose\DoctrineBulkInsert\Tests;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\PostgreSqlPlatform;
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Franzose\DoctrineBulkInsert\Query;
use Mockery;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
Expand All @@ -19,7 +19,7 @@ public function testExecute(): void
$connection = Mockery::mock(Connection::class);
$connection->shouldReceive('getDatabasePlatform')
->once()
->andReturn(new PostgreSqlPlatform());
->andReturn(new PostgreSQLPlatform());

$mockedMethod = method_exists(Connection::class, 'executeStatement')
? 'executeStatement'
Expand Down

0 comments on commit 1466d9b

Please sign in to comment.