Skip to content

Commit 2795c1b

Browse files
committed
add null test to getLastEditedBy()
- within ``EndpointCommentsTest``
1 parent 13a6b38 commit 2795c1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/EndpointCommentsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
expect($collection->first()->getCreatedTime())->toEqual(Carbon::parse('2022-07-15T16:52:00.000Z')->toDateTime());
6969
expect($collection->first()->getLastEditedTime())->toEqual(Carbon::parse('2022-07-15T19:16:00.000Z')->toDateTime());
7070
expect($collection->first()->getCreatedBy()->getId())->toBe('9b15170a-9941-4297-8ee6-83fa7649a87a');
71+
expect($collection->first()->getLastEditedBy())->toBe(null);
7172
expect($collection->first()->getText())->toBe('Single comment');
7273
expect($collection->first()->getRichText()->getPlainText())->toBe('Single comment');
7374
expect($collection->first()->getRichText())->toBeInstanceOf(RichText::class);

0 commit comments

Comments
 (0)