-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace \r and \n with spaces so creating query works with text blocks
- Loading branch information
Showing
5 changed files
with
115 additions
and
1 deletion.
There are no files selected for viewing
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
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
21 changes: 21 additions & 0 deletions
21
...ests/hibernate-orm-panache-kotlin/src/test/kotlin/io/quarkus/it/panache/ProjectionTest.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package io.quarkus.it.panache | ||
|
||
import io.quarkus.test.junit.QuarkusIntegrationTest | ||
import io.quarkus.test.junit.QuarkusTest | ||
import io.restassured.RestAssured | ||
import org.hamcrest.Matchers | ||
import org.junit.jupiter.api.Test | ||
|
||
// Native tests | ||
@QuarkusIntegrationTest | ||
class ProjectionIT : ProjectionTest() | ||
|
||
// Quarkus/JVM tests | ||
@QuarkusTest | ||
open class ProjectionTest { | ||
|
||
@Test | ||
fun testProject() { | ||
RestAssured.`when`()["/test/project"].then().body(Matchers.`is`("OK")) | ||
} | ||
} |
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
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