Skip to content

Commit

Permalink
upgraded kotlin version and bumped up data-anon version to 0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sunitparekh committed Jun 14, 2018
1 parent a8e60a1 commit 9f008cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.dataanon</groupId>
<artifactId>data-anon</artifactId>
<version>0.9.5</version>
<version>0.9.6</version>
<packaging>jar</packaging>

<name>data-anon</name>
Expand All @@ -18,7 +18,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<kotlin.version>1.2.41</kotlin.version>
<kotlin.version>1.2.50</kotlin.version>
<version.jacoco>0.8.1</version.jacoco>
</properties>

Expand Down Expand Up @@ -81,7 +81,7 @@
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>3.1.6.RELEASE</version>
<version>3.1.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand All @@ -96,7 +96,7 @@
<dependency>
<groupId>io.kotlintest</groupId>
<artifactId>kotlintest-runner-junit5</artifactId>
<version>3.1.2</version>
<version>3.1.6</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import com.github.dataanon.dsl.Whitelist
import com.github.dataanon.model.DbConfig
import com.github.dataanon.strategy.string.FixedString
import com.github.dataanon.support.MoviesTable
import io.kotlintest.be
import io.kotlintest.matchers.match
import io.kotlintest.should
import io.kotlintest.shouldBe
import io.kotlintest.specs.FunSpec
import org.junit.jupiter.api.Assertions.assertEquals
import java.time.LocalDate

class WhitelistMoviesSimplePrimaryKeyIntegrationTest : FunSpec() {
Expand All @@ -19,7 +19,8 @@ class WhitelistMoviesSimplePrimaryKeyIntegrationTest : FunSpec() {
val destDbConfig = DbConfig("jdbc:h2:mem:movies_dest", "", "")
val destTable = MoviesTable(destDbConfig)

assertEquals(0,destTable.findAll().size)

destTable.findAll().size should be(0)

Whitelist(sourceDbConfig,destDbConfig)
.table("MOVIES") {
Expand Down

0 comments on commit 9f008cd

Please sign in to comment.