8000 fix merge · symfony/symfony@60ce71e · GitHub
[go: up one dir, main page]

Skip to content

Commit 60ce71e

Browse files
committed
fix merge
1 parent ffd707c commit 60ce71e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/PostgreSqlConnectionTest.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Messenger\Bridge\Doctrine\Tests\Transport;
1313

14-
use Doctrine\DBAL\Schema\Synchronizer\SchemaSynchronizer;
1514
use Doctrine\DBAL\Schema\Table;
1615
use PHPUnit\Framework\TestCase;
1716
use Symfony\Component\Messenger\Bridge\Doctrine\Transport\PostgreSqlConnection;
@@ -26,10 +25,9 @@ public function testSerialize()
2625
$this->expectException(\BadMethodCallException::class);
2726
$this->expectExceptionMessage('Cannot serialize '.PostgreSqlConnection::class);
2827

29-
$schemaSynchronizer = $this->createMock(SchemaSynchronizer::class);
3028
$driverConnection = $this->createMock(\Doctrine\DBAL\Connection::class);
3129

32-
$connection = new PostgreSqlConnection([], $driverConnection, $schemaSynchronizer);
30+
$connection = new PostgreSqlConnection([], $driverConnection);
3331
serialize($connection);
3432
}
3533

@@ -38,10 +36,9 @@ public function testUnserialize()
3836
$this->expectException(\BadMethodCallException::class);
3937
$this->expectExceptionMessage('Cannot unserialize '.PostgreSqlConnection::class);
4038

41-
$schemaSynchronizer = $this->createMock(SchemaSynchronizer::class);
4239
$driverConnection = $this->createMock(\Doctrine\DBAL\Connection::class);
4340

44-
$connection = new PostgreSqlConnection([], $driverConnection, $schemaSynchronizer);
41+
$connection = new PostgreSqlConnection([], $driverConnection);
4542
$connection->__wakeup();
4643
}
4744

0 commit comments

Comments
 (0)
0