Пример #1
0
 /**
  * @dataProvider getTestDataForGetTablesArchivesInstalled
  */
 public function test_getTablesArchivesInstalled_CorrectlyFiltersTableNames($type, $expectedTables)
 {
     ArchiveTableCreator::$tablesAlreadyInstalled = $this->tables;
     $tables = ArchiveTableCreator::getTablesArchivesInstalled($type);
     $this->assertEquals($expectedTables, $tables);
 }
 public function tearDown()
 {
     ArchiveTableCreator::$tablesAlreadyInstalled = null;
 }
 public function tearDown()
 {
     Access::setSingletonInstance(null);
     ArchiveTableCreator::$tablesAlreadyInstalled = null;
 }