Created
October 27, 2020 17:37
-
-
Save IT-Berater/9fd10132e65a93e5312bf72f8704b243 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.wenzlaff; | |
import static io.restassured.RestAssured.given; | |
import static org.hamcrest.CoreMatchers.is; | |
import org.junit.jupiter.api.Test; | |
import io.quarkus.test.junit.QuarkusTest; | |
@QuarkusTest | |
public class Co2AmpelResourceTest { | |
@Test | |
public void testHelloEndpoint() { | |
given().when().get("/v1/rest/co2").then().statusCode(200).body(is("CO2 Wert: 0")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment