public function test_setup() { $TestSetup = new AkUnitTest(); $TestSetup->rebaseAppPaths(); $TestSetup->installAndIncludeModels(array('DummyPost' => 'id, title, body, hip_factor int, comments_count, posted_on, expires_at', 'DummyComment' => 'id,name,body,dummy_post_id,created_at')); $this->webserver_enabled = AkConfig::getOption('webserver_enabled', false); $this->_test_script = AkConfig::getOption('testing_url') . '/action_pack/public/index.php?ak='; }
public function test_setup() { $TestSetup = new AkUnitTest(); $TestSetup->rebaseAppPaths(); $TestSetup->installAndIncludeModels(array('Text' => 'id, name')); }