Skip to content

Commit

Permalink
fix: setUp 메서드 실행 시점 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyma-s committed Dec 15, 2023
1 parent 2e8398a commit 03654ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/test/java/shook/shook/support/AcceptanceTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package shook.shook.support;

import io.restassured.RestAssured;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
Expand All @@ -16,7 +16,7 @@ public class AcceptanceTest {
@LocalServerPort
private int port;

@AfterEach
@BeforeEach
void setUp() {
RestAssured.port = port;
dataCleaner.clear();
Expand Down

0 comments on commit 03654ec

Please sign in to comment.