Skip to content

Commit 8df623e

Browse files
[Cache] fix test
1 parent 04e6b99 commit 8df623e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Cache/Tests/Adapter/PdoDbalAdapterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Doctrine\DBAL\Connection;
1515
use Doctrine\DBAL\Driver;
16+
use Doctrine\DBAL\Driver\AbstractMySQLDriver;
1617
use Doctrine\DBAL\DriverManager;
1718
use Doctrine\DBAL\Schema\Schema;
1819
use Doctrine\DBAL\Version;
@@ -87,7 +88,7 @@ public function testConfigureSchemaTableExists()
8788
private function createConnectionMock()
8889
{
8990
$connection = $this->createMock(Connection::class);
90-
$driver = $this->createMock(Driver::class);
91+
$driver = $this->createMock(AbstractMySQLDriver::class);
9192
$driver->expects($this->any())
9293
->method('getName')
9394
->willReturn('pdo_mysql');

0 commit comments

Comments
 (0)