-
Notifications
You must be signed in to change notification settings - Fork 390
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
Fix supporter being required when selecting default options in beatmap listing #11419
Fix supporter being required when selecting default options in beatmap listing #11419
Conversation
beforeAll(() => { | ||
core.setCurrentUser(testCurrentUserJson); | ||
}); | ||
|
||
afterAll(() => { | ||
core.setCurrentUser({ id: undefined }); | ||
}); |
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.
what's this for here?
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.
actual problem was if tests that simulated having a user ran first and didn't have user_preferences
set left it undefined when logging out
Doesn't affect normal logout as it reloads the whole page, but js tests unset the user to simulate logout
831e61d
to
7297a1b
Compare
Check and normalize for default value when updating search filters instead of just the final url.
closes #10972