-
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 DeleteStudentActionTest #13204
Conversation
Hi @DhiraPT, thank you for your interest in contributing to TEAMMATES!
Please address the above before we proceed to review your PR. |
Fix a test failure caused by a mismatch in the student Google ID during mocking.
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.
Nice work! Sorry for late review just a few small changes
src/test/java/teammates/sqlui/webapi/DeleteStudentActionTest.java
Outdated
Show resolved
Hide resolved
src/test/java/teammates/sqlui/webapi/DeleteStudentActionTest.java
Outdated
Show resolved
Hide resolved
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.
Seems like I was a bit confused with when the logic is called, but you got the idea!
Just one more minor change
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!
1aa6b9c
to
7ee55b2
Compare
7ee55b2
to
8f4da33
Compare
4c8e23d
to
36511e7
Compare
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!
Part of #12048
Outline of Solution
Migrated
DeleteStudentActionTest
to use SQL-based logic instead of the previous Datastore model.