-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[#12048] Migrate Tests for FeedbackSessionPublishedRemindersActionTest #13223
base: master
Are you sure you want to change the base?
[#12048] Migrate Tests for FeedbackSessionPublishedRemindersActionTest #13223
Conversation
Hi @DhiraPT, thank you for your interest in contributing to TEAMMATES!
Please address the above before we proceed to review your PR. |
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.
LGTM! Thanks for your hard work :)
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.
Apologies – I missed one small thing in my review for this. Looks good apart from that!
logoutUser(); | ||
verifyCannotAccess(); | ||
} | ||
} |
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.
In the original test, testAccessControl()
also tested that unregistered users cannot access it, but this case is not present in the migrated test.
You can use loginAsUnregistered(id)
to log in as an unregistered user
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.
LGTM, apart from the above suggestion! good work
Part of #12048
Outline of Solution
Migrated
FeedbackSessionPublishedRemindersActionTest
to use SQL-based logic instead of the previous Datastore model.