Skip to content

Commit

Permalink
Modify test case naming
Browse files Browse the repository at this point in the history
Improve description of test cases
through naming
  • Loading branch information
BunnyHoppp committed Mar 2, 2025
1 parent efb5508 commit 4d1a013
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ void testAccessControl_differentStudentInSameTeam_canAccessTeamComment() {
}

@Test
void testAccessControl_instructorWithCorrectPrivilege_canAccessTeamComment() {
void testAccessControl_instructorWithCorrectPrivilege_canAccessCrossSectionComment() {
FeedbackResponseComment typicalFeedbackResponseComment = getTypicalCommentFromTeam();

Instructor instructorWithPrivilege = getTypicalInstructor();
Expand Down Expand Up @@ -473,7 +473,7 @@ void testAccessControl_instructorWithCorrectPrivilege_canAccessTeamComment() {
}

@Test
void testAccessControl_instructorWithoutGiverSectionPrivilege_cannotAccessTeamComment() {
void testAccessControl_instructorWithoutGiverSectionPrivilege_cannotAccessCrossSectionComment() {
FeedbackResponseComment typicalFeedbackResponseComment = getTypicalCommentFromTeam();

Instructor instructorWithoutPrivilege = getTypicalInstructor();
Expand All @@ -499,7 +499,7 @@ void testAccessControl_instructorWithoutGiverSectionPrivilege_cannotAccessTeamCo
}

@Test
void testAccessControl_instructorWithoutRecipientSectionPrivilege_cannotAccessTeamComment() {
void testAccessControl_instructorWithoutRecipientSectionPrivilege_cannotAccessCrossSectionComment() {
FeedbackResponseComment typicalFeedbackResponseComment = getTypicalCommentFromTeam();

Instructor instructorWithoutPrivilege = getTypicalInstructor();
Expand Down

0 comments on commit 4d1a013

Please sign in to comment.