Skip to content

Commit

Permalink
Rectify import classes
Browse files Browse the repository at this point in the history
Imported BeforeEach from JUnit
previously, instead of BeforeMethod
  • Loading branch information
BunnyHoppp committed Feb 23, 2025
1 parent fc33ff9 commit c25df1e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import java.util.UUID;

import org.junit.jupiter.api.BeforeEach;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

import teammates.common.datatransfer.InstructorPrivileges;
Expand Down Expand Up @@ -37,7 +37,7 @@ protected String getRequestMethod() {
return DELETE;
}

@BeforeEach
@BeforeMethod
void setUp() {
typicalInstructor = getTypicalInstructor();
typicalCourse = typicalInstructor.getCourse();
Expand Down

0 comments on commit c25df1e

Please sign in to comment.