diff --git a/tests/DefaultValuesTest.php b/tests/DefaultValuesTest.php index 98cfccb..5e483f9 100644 --- a/tests/DefaultValuesTest.php +++ b/tests/DefaultValuesTest.php @@ -16,8 +16,8 @@ public function test_model_unguarded() { $this->assertFalse(Model::isUnguarded()); - if (method_exists(Model::class, 'preventsLazyLoading')) { - $this->assertTrue(Model::preventsLazyLoading()); + if (method_exists(Model::class, 'shouldBeStrict')) { + $this->assertFalse(Model::preventsLazyLoading()); } }