-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symfony5 #179
Symfony5 #179
Conversation
@@ -23,6 +23,8 @@ public function let(RefreshTokenAuthenticator $authenticator, RefreshTokenProvid | |||
$ttlUpdate = false; | |||
$providerKey = 'testkey'; | |||
|
|||
$eventDispatcher->dispatch(Argument::any(), Argument::any())->willReturn(Argument::any()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't understand why i need to add this line in the test for them to pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i don't have this line test fail fait:
Gesdinet/JWTRefreshTokenBundle/Service/RefreshToken
34 - it refresh token
exception [err:TypeError("Return value of Double\EventDispatcherInterface\P110::dispatch() must be an object, null returned")] has been thrown.
phpspec/phpspec#1276 has been merged and released |
Please someone for merge? |
Co-Authored-By: Tomas Norkūnas <norkunas.tom@gmail.com>
Todo