Skip to content

Commit 975ff03

Browse files
committed
Use more specific assertion for resume callable
1 parent ec15782 commit 975ff03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Operation/WatchFunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ public function testSessionFreed()
10851085
$rp = $rc->getProperty('resumeCallable');
10861086
$rp->setAccessible(true);
10871087

1088-
$this->assertNotNull($rp->getValue($changeStream));
1088+
$this->assertInternalType('callable', $rp->getValue($changeStream));
10891089

10901090
// Invalidate the cursor to verify that resumeCallable is unset when the cursor is exhausted.
10911091
$this->dropCollection();

0 commit comments

Comments
 (0)