Skip to content

Commit c76c5f2

Browse files
committed
fix. testSoftDeleteLeavesRow can't worker
1 parent 93cd631 commit c76c5f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

admin/module/tests/database/ExampleDatabaseTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function testSoftDeleteLeavesRow()
2626
{
2727
$model = new ExampleModel();
2828
$this->setPrivateProperty($model, 'useSoftDeletes', true);
29+
$this->setPrivateProperty($model, 'tempUseSoftDeletes', true);
2930

3031
$object = $model->first();
3132
$model->delete($object->id);

0 commit comments

Comments
 (0)