-
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.
Merge pull request #31419 from bakrhaso/31210
Handle text blocks when creating Panache find query
- Loading branch information
Showing
5 changed files
with
111 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