Skip to content

Commit

Permalink
Add test separators
Browse files Browse the repository at this point in the history
  • Loading branch information
marquestye committed Feb 23, 2024
1 parent aa5df74 commit 313a305
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/it/java/teammates/it/ui/webapi/UpdateStudentActionIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ public void testExecute() throws Exception {
}

@Test
public void testExecute_invalidParameters() throws Exception {
public void testExecute_invalidParameters_failure() throws Exception {
Student student1 = typicalBundle.students.get("student1InCourse1");

//no parameters
______TS("no parameters");
verifyHttpParameterFailure();

//null student email
______TS("null student email");
String[] invalidParams = new String[] {
Const.ParamsNames.COURSE_ID, student1.getCourseId(),
};
verifyHttpParameterFailure(invalidParams);

//null course id
______TS("null course id");
invalidParams = new String[] {
Const.ParamsNames.STUDENT_EMAIL, student1.getEmail(),
};
Expand Down

0 comments on commit 313a305

Please sign in to comment.