Method |
Description |
|
setUp ( ) : void |
setUp method |
|
tearDown ( ) : void |
tearDown method |
|
testCounterCache ( ) |
Tests that soft deleting affects counters the same way that hard deleting. |
|
testDelete ( ) |
Tests that Table::delete() does not hard delete. |
|
testDeleteAll ( ) |
Tests that Table::deleteAll() does not hard delete |
|
testDeleteWithCustomField ( ) : void |
Ensure that when deleting a record which has a custom field defined in
the table, that it is still soft deleted. |
|
testDynamicFinder ( ) |
Tests that a soft deleted entities is not found when calling Table::findByXXX() |
|
testFind ( ) |
Tests that a soft deleted entities is not found when calling Table::find() |
|
testFindBelongsToMany ( ) |
Tests that soft deleted records in join table are taken into account when retrieving
an entity with a belongsToManyAssociation. |
|
testFindMatching ( ) |
Test that entities matching a soft deleted associated record are not returned when using $query->matching(). |
|
testFindWithOrWhere ( ) |
|
|
testFindingWithCustomField ( ) : void |
Using a table with a custom soft delete field, ensure we can still filter
the found results properly. |
|
testHardDelete ( ) |
|
|
testHardDeleteAll ( ) |
Tests hardDeleteAll. |
|
testHardDeleteWithCustomField ( ) : void |
With a custom soft delete field ensure that a soft deleted record can
still be permanently removed. |
|
testHasManyAssociation ( ) |
Tests that soft deleting an entity also soft deletes its belonging entities. |
|
testMissingColumn ( ) |
When a configured field is missing from the table, an exception should be thrown |
|
testRestore ( ) : void |
Test soft deleting and restoring a record. |
|