Skip to content

Commit

Permalink
Add test skeleton methods for Table::delete()
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 2, 2013
1 parent 96bd8d8 commit 669848d
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions Cake/Test/TestCase/ORM/TableTest.php
Expand Up @@ -1554,4 +1554,67 @@ public function testUpdateNoPrimaryButOtherKeys() {
$this->assertSame($entity, $table->save($entity));
}

/**
* Test simple delete.
*
* @return void
*/
public function testDelete() {
$this->markTestIncomplete('not done');
}

/**
* Test delete with dependent records
*
* @return void
*/
public function testDeleteDependent() {
$this->markTestIncomplete('not done');
}

/**
* Test delete with BelongsToMany
*
* @return void
*/
public function testDeleteBelongsToMany() {
$this->markTestIncomplete('not done');
}

/**
* Test delete callbacks
*
* @return void
*/
public function testDeleteCallbacks() {
$this->markTestIncomplete('not done');
}

/**
* Test delete beforeDelete can abort the delete.
*
* @return void
*/
public function testDeleteBeforeDeleteAbort() {
$this->markTestIncomplete('not done');
}

/**
* Test delete beforeDelete return result
*
* @return void
*/
public function testDeleteBeforeDeleteReturnResult() {
$this->markTestIncomplete('not done');
}

/**
* Test deleting new entities does nothing.
*
* @return void
*/
public function testDeleteIsNew() {
$this->markTestIncomplete('not done');
}

}

0 comments on commit 669848d

Please sign in to comment.