Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit cdd2495

Browse files
dev/codeforces/test Добавил профиль test тесту CodeforcesClientTest
1 parent 46ca4ff commit cdd2495

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/cf/cfteam/services/client/CodeforcesClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import org.springframework.beans.factory.annotation.Autowired;
77
import org.springframework.boot.test.context.SpringBootTest;
88
import org.springframework.http.MediaType;
9+
import org.springframework.test.context.ActiveProfiles;
910
import org.springframework.test.context.DynamicPropertyRegistry;
1011
import org.springframework.test.context.DynamicPropertySource;
1112

@@ -15,6 +16,7 @@
1516
import static com.github.tomakehurst.wiremock.client.WireMock.*;
1617
import static org.assertj.core.api.Assertions.assertThat;
1718

19+
@ActiveProfiles("test")
1820
@SpringBootTest
1921
@WireMockTest(httpPort = 8080)
2022
class CodeforcesClientTest {

0 commit comments

Comments
 (0)