diff --git a/admin/module/tests/database/ExampleDatabaseTest.php b/admin/module/tests/database/ExampleDatabaseTest.php index ccb6885f9..2de0b6ae0 100644 --- a/admin/module/tests/database/ExampleDatabaseTest.php +++ b/admin/module/tests/database/ExampleDatabaseTest.php @@ -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);