Skip to content

Commit

Permalink
adjust test to symfony version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
graste committed May 9, 2017
1 parent b7e4cef commit a8d06d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Guard/VariableGuardTest.php
Expand Up @@ -32,7 +32,7 @@ public function testGuardThrowsWhenExpressionUsesUndefinedParameter()
$this->expectException(Error::CLASS);
$this->expectExceptionCode(1);
$this->expectExceptionMessage(
'Expression evaluation failed. Reason: Variable "event" is not valid around position 1.' .
'Expression evaluation failed. Reason: Variable "event" is not valid around position 1 for expression `event.foo === "bar"`.' .
"\nExpression used: " . $expression .
"\nExpression vars: subject(object) foo(string) asdf(string) "
);
Expand Down

0 comments on commit a8d06d0

Please sign in to comment.