✅ Lagt til JUnit
Co-authored-by: Sindre Kjelsrud <sindre.kjelsrud@nav.no> Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no> Co-authored-by: Hege Haavaldsen <hege.haavaldsen@nav.no> Co-authored-by: Helene Arnesen <helene.arnesen@nav.no>
This commit is contained in:
parent
0388b06f93
commit
77abcef166
3 changed files with 26 additions and 0 deletions
14
backend/src/test/kotlin/no/nav/helse/sprik/DbTest.kt
Normal file
14
backend/src/test/kotlin/no/nav/helse/sprik/DbTest.kt
Normal file
|
@ -0,0 +1,14 @@
|
|||
package no.nav.helse.sprik
|
||||
|
||||
import org.junit.jupiter.api.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
|
||||
class DbTest {
|
||||
@Test
|
||||
fun `Tester noe rart for å sjekke om junit funker`() {
|
||||
val a = 2
|
||||
assertEquals(2, a)
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue