Commit 975ff03e authored by Jeremy Mikola's avatar Jeremy Mikola

Use more specific assertion for resume callable

parent ec157820
......@@ -1085,7 +1085,7 @@ class WatchFunctionalTest extends FunctionalTestCase
$rp = $rc->getProperty('resumeCallable');
$rp->setAccessible(true);
$this->assertNotNull($rp->getValue($changeStream));
$this->assertInternalType('callable', $rp->getValue($changeStream));
// Invalidate the cursor to verify that resumeCallable is unset when the cursor is exhausted.
$this->dropCollection();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment