|
@@ -164,7 +164,7 @@ class CleanDbTest extends TestCase
|
|
|
$cleanDb = $this->getMockFor('purgeAuditTables');
|
|
$cleanDb = $this->getMockFor('purgeAuditTables');
|
|
|
|
|
|
|
|
$schemaManager = $this->getMockBuilder(\Doctrine\DBAL\Schema\AbstractSchemaManager::class)->disableOriginalConstructor()->getMock();
|
|
$schemaManager = $this->getMockBuilder(\Doctrine\DBAL\Schema\AbstractSchemaManager::class)->disableOriginalConstructor()->getMock();
|
|
|
- $this->connection->method('getSchemaManager')->willReturn($schemaManager);
|
|
|
|
|
|
|
+ $this->connection->method('createSchemaManager')->willReturn($schemaManager);
|
|
|
|
|
|
|
|
$schemaManager->method('listTableNames')->willReturn([
|
|
$schemaManager->method('listTableNames')->willReturn([
|
|
|
'table1',
|
|
'table1',
|