Skip to content

Commit df78dcf

Browse files
committed
Use assertNotEquals when comparing cursor IDs
1 parent 9864dbc commit df78dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Operation/WatchFunctionalTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ public function testOriginalReadPreferenceIsPreservedOnResume(): void
13741374
$this->forceChangeStreamResume();
13751375

13761376
$changeStream->next();
1377-
$this->assertNotSame($previousCursorId, $changeStream->getCursorId());
1377+
$this->assertNotEquals($previousCursorId, $changeStream->getCursorId());
13781378

13791379
$getCursor = Closure::bind(
13801380
fn () => $this->iterator->getInnerIterator(),

0 commit comments

Comments
 (0)