Skip to content

Commit

Permalink
Fix test dependencies after extracting exposed-dao module
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Oct 30, 2019
1 parent 15da8f2 commit a8f8b20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions exposed-java-time/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ val dialect: String by project

dependencies {
api(project(":exposed-core"))
testImplementation(project(":exposed-dao"))
testImplementation(project(":exposed-tests"))
testImplementation("junit", "junit", "4.12")
testImplementation(kotlin("test-junit"))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package org.jetbrains.exposed

import org.jetbrains.exposed.dao.EntityID
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.IntIdTable
import org.jetbrains.exposed.dao.*
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.statements.BatchDataInconsistentException
import org.jetbrains.exposed.sql.statements.BatchInsertStatement
Expand Down Expand Up @@ -53,7 +50,7 @@ class DefaultsTest : DatabaseTestsBase() {
field = "2"
t1 = LocalDateTime.now().minusDays(5)
})
flushCache()
commit()
created.forEach {
DBDefault.removeFromCache(it)
}
Expand Down
1 change: 1 addition & 0 deletions exposed-jodatime/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ val dialect: String by project
dependencies {
api(project(":exposed-core"))
api("joda-time", "joda-time", "2.10.2")
testImplementation(project(":exposed-dao"))
testImplementation(project(":exposed-tests"))
testImplementation("junit", "junit", "4.12")
testImplementation(kotlin("test-junit"))
Expand Down

0 comments on commit a8f8b20

Please sign in to comment.