⚰️ Fjernet ubrukt kode for å fikse deploy
Co-authored-by: Markus A. R. Johansen <markus.aleksander.rakil.johansen@nav.no>
This commit is contained in:
parent
b5f6b71f71
commit
baf3e3a867
2 changed files with 8 additions and 8 deletions
26
backend/src/test/kotlin/LocalApp.kt
Normal file
26
backend/src/test/kotlin/LocalApp.kt
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import no.nav.helse.sprik.Application
|
||||
import no.nav.helse.sprik.configureFlyway
|
||||
import no.nav.helse.sprik.db.Database
|
||||
// import no.nav.helse.sprik.db.FeilmeldingRepository
|
||||
import no.nav.helse.sprik.dbconfig
|
||||
// import no.nav.helse.sprik.modell.Feilmelding
|
||||
// import java.time.LocalDateTime
|
||||
// import javax.sql.DataSource
|
||||
|
||||
|
||||
fun main() {
|
||||
|
||||
val db = Database(dbconfig()).configureFlyway()
|
||||
val app = Application(db)
|
||||
|
||||
// oppretteMockData(db.dataSource) // WIP
|
||||
|
||||
app.startBlocking()
|
||||
}
|
||||
|
||||
/* WIP
|
||||
private fun oppretteMockData(dataSource: DataSource) {
|
||||
val feilmeldingRepository = FeilmeldingRepository()
|
||||
feilmeldingRepository.lagre(Feilmelding("Tittel Test", "Beskrivelse Test", LocalDateTime.of(2023, 1, 1, 8, 0, 0)))
|
||||
}
|
||||
*/
|
||||
Reference in a new issue