added IngredientControllerTest + fix pipeline fail
This commit is contained in:
parent
0acbb13a49
commit
f7a1deb9b1
1 changed files with 2 additions and 0 deletions
|
|
@ -29,7 +29,9 @@ import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
|
||||||
import static com.github.tomakehurst.wiremock.client.WireMock.verify;
|
import static com.github.tomakehurst.wiremock.client.WireMock.verify;
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
|
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
|
||||||
|
|
||||||
|
@EnabledIfEnvironmentVariable(named = "DISPLAY", matches = ".+")
|
||||||
@WireMockTest(httpPort = 8080)
|
@WireMockTest(httpPort = 8080)
|
||||||
class IngredientControllerMockTest {
|
class IngredientControllerMockTest {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue