Skip to content

Commit

Permalink
Change delete() to remove() in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Berry Goudswaard committed Dec 22, 2014
1 parent 980a233 commit 0c97a25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestCase/ORM/TableRegistryTest.php
Expand Up @@ -346,11 +346,11 @@ public function testGenericInstances() {
}

/**
* Tests deleting an instance
* Tests remove an instance
*
* @return void
*/
public function testDelete() {
public function testRemove() {
Plugin::load('TestPlugin');

$pluginTable = TableRegistry::get('TestPlugin.Comments');
Expand All @@ -359,7 +359,7 @@ public function testDelete() {
$this->assertTrue(TableRegistry::exists('Comments'));
$this->assertSame($pluginTable, $cachedTable);

TableRegistry::delete('Comments');
TableRegistry::remove('Comments');
$this->assertFalse(TableRegistry::exists('Comments'));

$appTable = TableRegistry::get('Comments');
Expand Down

0 comments on commit 0c97a25

Please sign in to comment.