Skip to content

Commit 7129653

Browse files
committed
minor fix for resolve tests
- due to changed exception message
1 parent 6e54138 commit 7129653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/RecordedEndpointResolveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
});
8383

8484
it('should throw a handling exception when unknown parent type', function () {
85-
expect(fn () => new NotionParent(['object' => 'unknown', 'id' => '1234']))->toThrow('invalid json-array: the given object is not a valid parent');
85+
expect(fn () => new NotionParent(['object' => 'unknown', 'id' => '1234']))->toThrow('Invalid JSON: The given object is not a valid parent');
8686
});
8787

8888
it('should throw a handling exception when entity without parent', function () {

0 commit comments

Comments
 (0)