Olivier Massot před 7 měsíci
rodič
revize
9715e7869d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tests/Unit/Service/Cron/Job/CleanDbTest.php

+ 1 - 1
tests/Unit/Service/Cron/Job/CleanDbTest.php

@@ -164,7 +164,7 @@ class CleanDbTest extends TestCase
         $cleanDb = $this->getMockFor('purgeAuditTables');
 
         $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([
             'table1',