From dd70b1f61f6c7ce31e410291c6be15c1732824ca Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 21 Nov 2020 11:26:15 +0700 Subject: [PATCH] add tests --- build.gradle.kts | 5 +++-- .../modules/example/SampleModuleExampleApplication.kt | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 597d169..6e7e4d7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,6 @@ plugins { kotlin("jvm") kotlin("plugin.spring") - kotlin("plugin.jpa") } dependencies { @@ -15,7 +14,9 @@ dependencies { implementation(kotlin("reflect")) 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 { diff --git a/src/main/kotlin/com/cubetiqs/modules/example/SampleModuleExampleApplication.kt b/src/main/kotlin/com/cubetiqs/modules/example/SampleModuleExampleApplication.kt index d7b0a66..4188008 100644 --- a/src/main/kotlin/com/cubetiqs/modules/example/SampleModuleExampleApplication.kt +++ b/src/main/kotlin/com/cubetiqs/modules/example/SampleModuleExampleApplication.kt @@ -1,7 +1,5 @@ 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.context.event.ApplicationReadyEvent import org.springframework.boot.runApplication