Skip to content

Commit

Permalink
서블릿 학습 테스트 코드 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
kang-hyungu authored and thdwoqor committed Sep 16, 2023
1 parent 37e31ff commit f530a06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions study/src/test/java/servlet/com/example/FilterTest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package servlet.com.example;

import java.net.http.HttpResponse;
import org.junit.jupiter.api.Test;
import support.HttpUtils;

Expand All @@ -15,7 +14,7 @@ void testFilter() {
final var tomcatStarter = new TomcatStarter("src/main/webapp/");
tomcatStarter.start();

HttpResponse<String> response = HttpUtils.send("/korean");
final var response = HttpUtils.send("/korean");

// 톰캣 서버 종료
tomcatStarter.stop();
Expand Down

0 comments on commit f530a06

Please sign in to comment.