diff --git a/cake/tests/cases/console/libs/schema.test.php b/cake/tests/cases/console/libs/schema.test.php index c34804eb809..c773a446074 100644 --- a/cake/tests/cases/console/libs/schema.test.php +++ b/cake/tests/cases/console/libs/schema.test.php @@ -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'); } + } } diff --git a/cake/tests/cases/libs/all_tests.test.php b/cake/tests/cases/libs/all_tests.test.php index b2ff19b9dcd..000a02814bc 100644 --- a/cake/tests/cases/libs/all_tests.test.php +++ b/cake/tests/cases/libs/all_tests.test.php @@ -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'); diff --git a/cake/tests/cases/libs/model/behaviors/acl.test.php b/cake/tests/cases/libs/model/behaviors/acl.test.php index 706a802c7b8..eca7dcabbf6 100644 --- a/cake/tests/cases/libs/model/behaviors/acl.test.php +++ b/cake/tests/cases/libs/model/behaviors/acl.test.php @@ -347,7 +347,7 @@ function testAfterSaveUpdateParentIdNotNull() { ); $this->Aro->save($aroData); - $Person =& new AclPerson(); + $Person = new AclPerson(); $data = array( 'AclPerson' => array( 'name' => 'Trent',