We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6155f54 commit 64c1bebCopy full SHA for 64c1beb
tests/wpunit/ModelRelationshipTest.php
@@ -98,7 +98,7 @@ public function testSetValueThrowsExceptionForInvalidArrayItem() {
98
$relationship = new ModelRelationship('posts', $definition);
99
100
$this->expectException(\InvalidArgumentException::class);
101
- $this->expectExceptionMessage('Multiple relationship value must be an array of valid values.');
+ $this->expectExceptionMessage('Relationship value must be a valid value.');
102
103
$relationship->setValue(['not', 'models']);
104
}
0 commit comments