From 1466d9b7c2f3281e453200beb9193be09ec9d458 Mon Sep 17 00:00:00 2001 From: Jan Iwanow Date: Mon, 13 Jun 2022 13:06:25 +0700 Subject: [PATCH] fix class names --- tests/FunctionsTest.php | 4 ++-- tests/QueryTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/FunctionsTest.php b/tests/FunctionsTest.php index a23c2d9..6d3cf7c 100644 --- a/tests/FunctionsTest.php +++ b/tests/FunctionsTest.php @@ -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; @@ -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); diff --git a/tests/QueryTest.php b/tests/QueryTest.php index 9fd7688..814de81 100644 --- a/tests/QueryTest.php +++ b/tests/QueryTest.php @@ -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; @@ -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'