Add missing dep
This commit is contained in:
@@ -14,6 +14,7 @@ val quarkusPlatformArtifactId: String by project
|
|||||||
val quarkusPlatformVersion: String by project
|
val quarkusPlatformVersion: String by project
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation("io.quarkus:quarkus-container-image-docker")
|
||||||
implementation("io.quarkus:quarkus-config-yaml")
|
implementation("io.quarkus:quarkus-config-yaml")
|
||||||
implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
|
implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}"))
|
||||||
implementation("io.quarkus:quarkus-rest")
|
implementation("io.quarkus:quarkus-rest")
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
package com.rak
|
|
||||||
|
|
||||||
import io.quarkus.test.junit.QuarkusTest
|
|
||||||
import io.restassured.RestAssured.given
|
|
||||||
import org.hamcrest.CoreMatchers.`is`
|
|
||||||
import org.junit.jupiter.api.Test
|
|
||||||
|
|
||||||
@QuarkusTest
|
|
||||||
class ExampleResourceTest {
|
|
||||||
|
|
||||||
@Test
|
|
||||||
fun testHelloEndpoint() {
|
|
||||||
given()
|
|
||||||
.`when`().get("/hello")
|
|
||||||
.then()
|
|
||||||
.statusCode(200)
|
|
||||||
.body(`is`("Hello from Quarkus REST"))
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user