Skip to content

Commit 119ff8b

Browse files
committed
fix assertion
1 parent 289198a commit 119ff8b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/Responses/FilterTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ public function testAccessors(): void
2020
public function testInvalidData(): void
2121
{
2222
self::expectException(ClientException::class);
23-
self::expectExceptionMessage('$field must be string, null used');
23+
self::expectExceptionMessage(
24+
'Unrecognized response: Typed property Keboola\NotificationClient\Responses\Filter::' .
25+
'$field must be string, null used'
26+
);
2427
new Filter(['boo']);
2528
}
2629
}

0 commit comments

Comments
 (0)