Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Use concrete UserInterface and UserProviderInterface classes in the tests #40609

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

Merged
merged 1 commit into from
Mar 28, 2021

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Mar 28, 2021

Q A
Branch? 5.2
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR n/a

Fixes failing deps=high builds in #40403

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

There are some CS fixes that I think you should apply.

This allows the tests to automatically adapt for changes in the UserInterface
and UserProviderInterface in 5.x
@wouterj wouterj force-pushed the security-user-changes-tests branch from f650709 to 89d9de2 Compare March 28, 2021 14:18
@wouterj wouterj merged commit 6e206bc into symfony:5.2 Mar 28, 2021
@wouterj
Copy link
Member Author

wouterj commented Mar 28, 2021

Thanks for the quick reviews Tobias and Robin :)

@wouterj wouterj deleted the security-user-changes-tests branch March 28, 2021 14:29
chalasr added a commit that referenced this pull request Mar 28, 2021
…erj)

This PR was merged into the 5.2 branch.

Discussion
----------

[Security] Use more concrete user classes in tests

| Q             | A
| ------------- | ---
| Branch?       | 5.2
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Similar to #40609.

#40145 keeps resisting... this should be the last mocked user & user provider in the 5.2 tests, looking at the failing deps=high build.

Commits
-------

631408b [Security] Use more concrete user classes in tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants