add tests

This commit is contained in:
Sambo Chea 2020-11-21 11:26:15 +07:00
parent f64c30de1c
commit dd70b1f61f
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,6 @@ plugins {
kotlin("jvm") kotlin("jvm")
kotlin("plugin.spring") kotlin("plugin.spring")
kotlin("plugin.jpa")
} }
dependencies { dependencies {
@ -15,7 +14,9 @@ dependencies {
implementation(kotlin("reflect")) implementation(kotlin("reflect"))
implementation(kotlin("stdlib-jdk8")) implementation(kotlin("stdlib-jdk8"))
testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
} }
tasks.withType<Test> { tasks.withType<Test> {

View File

@ -1,7 +1,5 @@
package com.cubetiqs.modules.example package com.cubetiqs.modules.example
import com.cubetiqs.enterprise.comutils.json.toJson
import com.cubetiqs.enterprise.comutils.json.toModel
import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.event.ApplicationReadyEvent import org.springframework.boot.context.event.ApplicationReadyEvent
import org.springframework.boot.runApplication import org.springframework.boot.runApplication