Skip to content
Permalink
Browse files

Fixing all tasks include.

Removing drop table queries that cause other tests to fail.
  • Loading branch information...
markstory committed Sep 25, 2010
1 parent 26057c5 commit 714d8298c499e7a75b95ab8ead7c2c7799c04bf6
@@ -419,8 +419,6 @@ public function testCreateWithTableArgs() {
$this->assertTrue(in_array($db->config['prefix'] . 'acos', $sources), 'acos should be present.');
$this->assertFalse(in_array($db->config['prefix'] . 'aros', $sources), 'aros should not be found.');
$this->assertFalse(in_array('aros_acos', $sources), 'aros_acos should not be found.');
$db->execute('DROP TABLE ' . $db->config['prefix'] . 'acos');
}
/**
@@ -486,6 +484,5 @@ public function testPluginDotSyntaxWithCreate() {
$db =& ConnectionManager::getDataSource('test');
$sources = $db->listSources();
$this->assertTrue(in_array($db->config['prefix'] . 'acos', $sources));
$db->execute('DROP TABLE ' . $db->config['prefix'] . 'acos'); }
}
}
@@ -39,7 +39,7 @@ public static function suite() {
$console = CORE_TEST_CASES . DS . 'console' . DS;
$suite->addTestFile($console . 'all_shells.test.php');
$suite->addTestFile($console . 'libs' . DS . 'all_tasks.test.php');
$suite->addTestFile($console . 'all_tasks.test.php');
$suite->addTestFile($path . 'all_behaviors.test.php');
$suite->addTestFile($path . 'all_cache_engines.test.php');
@@ -347,7 +347,7 @@ function testAfterSaveUpdateParentIdNotNull() {
);
$this->Aro->save($aroData);
$Person =& new AclPerson();
$Person = new AclPerson();
$data = array(
'AclPerson' => array(
'name' => 'Trent',

0 comments on commit 714d829

Please sign in to comment.
You can’t perform that action at this time.