Skip to content

Commit 460f8a0

Browse files
Fix test
1 parent b867786 commit 460f8a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/CreationTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,8 @@ public function __construct(
711711
->name->toBeNull()
712712
->upper_name->toBeNull();
713713

714+
config()->set('data.features.ignore_exception_when_trying_to_set_computed_property_value', false);
715+
714716
expect(fn () => $dataObject::from(['name' => 'Ruben', 'upper_name' => 'RUBEN']))
715717
->toThrow(CannotSetComputedValue::class);
716718

0 commit comments

Comments
 (0)