File tree 2 files changed +3
-3
lines changed
src/Symfony/Component/Workflow 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private function getVariables(GuardEvent $event)
57
57
$ token = $ this ->tokenStorage ->getToken ();
58
58
59
59
if (null === $ token ) {
60
- throw new InvalidTokenConfigurationException (sprintf ('There are no token available for workflow %s ' , $ event ->getWorkflowName ()));
60
+ throw new InvalidTokenConfigurationException (sprintf ('There are no tokens available for workflow %s. ' , $ event ->getWorkflowName ()));
61
61
}
62
62
63
63
if (null !== $ this ->roleHierarchy ) {
Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ public function testWithSupportedEventAndAccept()
71
71
72
72
/**
73
73
* @expectedException \Symfony\Component\Workflow\Exception\InvalidTokenConfigurationException
74
- * @expectedExceptionMessage There are no token available for workflow unnamed
74
+ * @expectedExceptionMessage There are no tokens available for workflow unnamed.
75
75
*/
76
- public function testWithNoTokenStorage ()
76
+ public function testWithNoTokensInTokenStorage ()
77
77
{
78
78
$ event = $ this ->createEvent ();
79
79
$ this ->tokenStorage ->setToken (null );
You can’t perform that action at this time.
0 commit comments