Пример #1
0
 /**
  * Chooses which fixtures to load for a given test
  *
  * @return void
  * @see \Cake\TestSuite\TestCase::$autoFixtures
  * @throws \Exception when no fixture manager is available.
  */
 public function loadFixtures()
 {
     if (empty($this->fixtureManager)) {
         throw new \Exception('No fixture manager to load the test fixture');
     }
     $args = func_get_args();
     foreach ($args as $class) {
         $this->fixtureManager->loadSingle($class, null, $this->dropTables);
     }
 }