Skip to content

Commit 669848d

Browse files
committed
Add test skeleton methods for Table::delete()
1 parent 96bd8d8 commit 669848d

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

Cake/Test/TestCase/ORM/TableTest.php

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,4 +1554,67 @@ public function testUpdateNoPrimaryButOtherKeys() {
15541554
$this->assertSame($entity, $table->save($entity));
15551555
}
15561556

1557+
/**
1558+
* Test simple delete.
1559+
*
1560+
* @return void
1561+
*/
1562+
public function testDelete() {
1563+
$this->markTestIncomplete('not done');
1564+
}
1565+
1566+
/**
1567+
* Test delete with dependent records
1568+
*
1569+
* @return void
1570+
*/
1571+
public function testDeleteDependent() {
1572+
$this->markTestIncomplete('not done');
1573+
}
1574+
1575+
/**
1576+
* Test delete with BelongsToMany
1577+
*
1578+
* @return void
1579+
*/
1580+
public function testDeleteBelongsToMany() {
1581+
$this->markTestIncomplete('not done');
1582+
}
1583+
1584+
/**
1585+
* Test delete callbacks
1586+
*
1587+
* @return void
1588+
*/
1589+
public function testDeleteCallbacks() {
1590+
$this->markTestIncomplete('not done');
1591+
}
1592+
1593+
/**
1594+
* Test delete beforeDelete can abort the delete.
1595+
*
1596+
* @return void
1597+
*/
1598+
public function testDeleteBeforeDeleteAbort() {
1599+
$this->markTestIncomplete('not done');
1600+
}
1601+
1602+
/**
1603+
* Test delete beforeDelete return result
1604+
*
1605+
* @return void
1606+
*/
1607+
public function testDeleteBeforeDeleteReturnResult() {
1608+
$this->markTestIncomplete('not done');
1609+
}
1610+
1611+
/**
1612+
* Test deleting new entities does nothing.
1613+
*
1614+
* @return void
1615+
*/
1616+
public function testDeleteIsNew() {
1617+
$this->markTestIncomplete('not done');
1618+
}
1619+
15571620
}

0 commit comments

Comments
 (0)