Skip to content

Commit

Permalink
fix. testSoftDeleteLeavesRow can't worker
Browse files Browse the repository at this point in the history
  • Loading branch information
nyufeng committed Mar 12, 2020
1 parent 93cd631 commit c76c5f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/module/tests/database/ExampleDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function testSoftDeleteLeavesRow()
{
$model = new ExampleModel();
$this->setPrivateProperty($model, 'useSoftDeletes', true);
$this->setPrivateProperty($model, 'tempUseSoftDeletes', true);

$object = $model->first();
$model->delete($object->id);
Expand Down

0 comments on commit c76c5f2

Please sign in to comment.