Unverified Commit 98356958 authored by Andreas Braun's avatar Andreas Braun

Merge pull request #710

parents c57450e7 dc1b43d2
......@@ -568,8 +568,7 @@ final class Operation
* instead exposes a bool to let us know whether a transaction
* is currently in progress. This code may fail down the line
* and should be adjusted once PHPC-1438 is implemented. */
$expected = in_array($this->arguments['state'], ['in_progress', 'starting']);
$test->assertSame($expected, $args['session']->isInTransaction());
$test->assertSame($this->arguments['state'], $args['session']->getTransactionState());
return null;
case 'assertSessionUnpinned':
......
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