feat: NCS-37 Quarkus integration #35
@@ -9,6 +9,7 @@ import org.junit.jupiter.api.Assertions.*
|
||||
|
||||
import scala.compiletime.uninitialized
|
||||
|
||||
// scalafix:off
|
||||
@QuarkusTest
|
||||
@DisplayName("GameRegistryImpl")
|
||||
class GameRegistryImplTest:
|
||||
@@ -56,3 +57,4 @@ class GameRegistryImplTest:
|
||||
assertNotEquals(id1, id2)
|
||||
assertFalse(id1.isEmpty)
|
||||
assertFalse(id2.isEmpty)
|
||||
// scalafix:on
|
||||
|
||||
+2
@@ -9,6 +9,7 @@ import org.junit.jupiter.api.Assertions.*
|
||||
|
||||
import scala.compiletime.uninitialized
|
||||
|
||||
// scalafix:off
|
||||
@QuarkusTest
|
||||
@DisplayName("GameResource Integration")
|
||||
class GameResourceIntegrationTest:
|
||||
@@ -150,3 +151,4 @@ class GameResourceIntegrationTest:
|
||||
val resp = resource.exportPgn(gameId)
|
||||
assertEquals(200, resp.getStatus)
|
||||
assertTrue(resp.getEntity.asInstanceOf[String].contains("1."))
|
||||
// scalafix:on
|
||||
|
||||
Reference in New Issue
Block a user