File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Symfony/Component/Workflow Expand file tree Collapse file tree 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)
5757 $ token = $ this ->tokenStorage ->getToken ();
5858
5959 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 ()));
6161 }
6262
6363 if (null !== $ this ->roleHierarchy ) {
Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ public function testWithSupportedEventAndAccept()
7171
7272 /**
7373 * @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.
7575 */
76- public function testWithNoTokenStorage ()
76+ public function testWithNoTokensInTokenStorage ()
7777 {
7878 $ event = $ this ->createEvent ();
7979 $ this ->tokenStorage ->setToken (null );
You can’t perform that action at this time.
0 commit comments