Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 8e2af46

Browse files
committed
Fix test expectation
- broadened expected error message to identify both older and newer exception messages.
1 parent 6aecc10 commit 8e2af46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Helper/Navigation/NavigationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function testMagicToStringShouldNotThrowException()
399399
$this->_helper->__toString();
400400
restore_error_handler();
401401

402-
$this->assertContains('array must contain two values', $this->_errorMessage);
402+
$this->assertContains('array must contain', $this->_errorMessage);
403403
}
404404

405405
public function testPageIdShouldBeNormalized()

0 commit comments

Comments
 (0)