Skip to content

Commit f838672

Browse files
committed
PHPLIB-1270: targetedFailPoint should assert that session is pinned
1 parent fe2f35c commit f838672

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/SpecTests/Operation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ private function executeForTestRunner(FunctionalTestCase $test, Context $context
638638

639639
case 'targetedFailPoint':
640640
$test->assertInstanceOf(Session::class, $args['session']);
641+
$test->assertInstanceOf(Server::class, $args['session']->getServer());
641642
$test->configureFailPoint($this->arguments['failPoint'], $args['session']->getServer());
642643

643644
return null;

0 commit comments

Comments
 (0)