Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Remove deprecatedUser from serialized test fixture#41385
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
User from serialized test fixturechalasr commentedMay 23, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Oh... I was pretty sure that this fixture was already upgraded in a PR of mine on 5.3 but actually, the upgraded fixture ended up in the wrong directory (1 level up):https://github.com/symfony/symfony/blob/5.3/src/Symfony/Component/Security/Core/Tests/Authentication/Token/switch-user-token-4.4.txt |
3f3544b toba2ae4eComparenicolas-grekas commentedMay 23, 2021
Thank you@derrabus. |
Uh oh!
There was an error while loading.Please reload this page.
SwitchUserTokenTesttests if a token serialized with Symfony 4.4 can still be unserialized. The serialized fixture however used the now-deprecatedSymfony\Component\Security\Core\User\User. This PR replaces that class with a new custom user class, which should make the test more resilient.