Skip to content

Commit fb36bdc

Browse files
committed
one more check to avoid fatal error in case things did not work
1 parent be3b1a9 commit fb36bdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/15_Versioning/VersionManagerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function setUp()
2727
public function testCheckinCheckoutVersion()
2828
{
2929
$history = $this->vm->getVersionHistory('/tests_version_base/versioned');
30+
$this->assertInstanceOf('PHPCR\Version\VersionHistoryInterface', $history);
3031
$this->assertEquals(1, count($history->getAllVersions()));
3132

3233
$this->vm->checkout('/tests_version_base/versioned');

0 commit comments

Comments
 (0)