public function setUp() { parent::setUp(); include_once base_path() . '/tests/fixtures/plugins/database/tester/models/Category.php'; $this->runPluginRefreshCommand('Database.Tester'); $this->seedSampleTree(); }
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'); }
/** * @copydoc DatabaseTestCase::getAffectedTables() */ protected function getAffectedTables() { $affectedTables = parent::getAffectedTables(); return array_merge($affectedTables, array('controlled_vocabs', 'controlled_vocab_entries', 'controlled_vocab_entry_settings')); }