File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function testSetValueThrowsExceptionForInvalidSingleValue() {
6666 $ relationship = new ModelRelationship ('post ' , $ definition );
6767
6868 $ this ->expectException (\InvalidArgumentException::class);
69- $ this ->expectExceptionMessage ('Single relationship value must be a Model instance or null . ' );
69+ $ this ->expectExceptionMessage ('Relationship value must be a valid value . ' );
7070
7171 $ relationship ->setValue ('invalid ' );
7272 }
@@ -96,7 +96,7 @@ public function testSetValueThrowsExceptionForInvalidArrayItem() {
9696 $ relationship = new ModelRelationship ('posts ' , $ definition );
9797
9898 $ this ->expectException (\InvalidArgumentException::class);
99- $ this ->expectExceptionMessage ('Multiple relationship value must be an array of Model instances . ' );
99+ $ this ->expectExceptionMessage ('Multiple relationship value must be an array of valid values . ' );
100100
101101 $ relationship ->setValue (['not ' , 'models ' ]);
102102 }
You can’t perform that action at this time.
0 commit comments