mirror of https://github.com/usbharu/Hideout.git
Merge pull request #3 from usbharu/bugfix/fix-ci
chore: gradlewを修正、不要なファイルを削除
This commit is contained in:
commit
b4140d710e
|
@ -1,16 +0,0 @@
|
||||||
package dev.usbharu.hideout.service.job
|
|
||||||
|
|
||||||
import kjob.core.Job
|
|
||||||
import org.jetbrains.exposed.sql.Database
|
|
||||||
import org.junit.jupiter.api.Test
|
|
||||||
|
|
||||||
class KJobJobQueueWorkerServiceTest {
|
|
||||||
|
|
||||||
object TestJob : Job("test-job")
|
|
||||||
|
|
||||||
@Test
|
|
||||||
fun init() {
|
|
||||||
val kJobJobWorkerService = KJobJobQueueWorkerService(Database.connect("jdbc:h2:mem:"))
|
|
||||||
kJobJobWorkerService.init(listOf(TestJob to { it -> execute { it as TestJob;println(it.propNames) } }))
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue