Skip to content

Commit 8dcc3c3

Browse files
committed
MAGETWO-90562: [Forwardport] Fix transaction level in integration tests framework
1 parent b709c5d commit 8dcc3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Db/Adapter/TransactionInterfaceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testBeginTransparentTransaction($class)
2626
$connectionMock->expects($this->once())->method('beginTransaction')->will($this->returnValue($uniqid));
2727
$this->assertSame(0, $connectionMock->getTransactionLevel());
2828
$this->assertEquals($uniqid, $connectionMock->beginTransparentTransaction());
29-
$this->assertSame(-1, $connectionMock->getTransactionLevel());
29+
$this->assertSame(0, $connectionMock->getTransactionLevel());
3030
}
3131

3232
/**

0 commit comments

Comments
 (0)