コード例 #1
0
 public function setUp()
 {
     parent::setUp();
     include_once base_path() . '/tests/fixtures/plugins/database/tester/models/Category.php';
     $this->runPluginRefreshCommand('Database.Tester');
     $this->seedSampleTree();
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
     include_once base_path() . '/tests/fixtures/plugins/database/tester/models/User.php';
     include_once base_path() . '/tests/fixtures/plugins/database/tester/models/Author.php';
     $this->runPluginRefreshCommand('Database.Tester');
 }
コード例 #3
0
 /**
  * @copydoc DatabaseTestCase::getAffectedTables()
  */
 protected function getAffectedTables()
 {
     $affectedTables = parent::getAffectedTables();
     return array_merge($affectedTables, array('controlled_vocabs', 'controlled_vocab_entries', 'controlled_vocab_entry_settings'));
 }