Skip to content

Commit

Permalink
#67 close connection after test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel Szymczyk committed Feb 10, 2015
1 parent 2350b8d commit 33da54a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -6,7 +6,6 @@ import org.javers.core.model.DummyAddress
import org.javers.core.model.DummyUser
import org.javers.core.model.SnapshotEntity
import org.javers.core.snapshot.SnapshotsAssert
import spock.lang.Ignore
import spock.lang.Specification
import spock.lang.Unroll

Expand All @@ -24,7 +23,6 @@ class JaversRepositoryE2ETest extends Specification {
javers = javers().build()
}

@Ignore
def "should fetch terminal snapshots from the repository"() {
given:
def anEntity = new SnapshotEntity(id:1, entityRef: new SnapshotEntity(id:2))
Expand Down
Expand Up @@ -30,6 +30,6 @@ class JaversSqlRepositoryE2ETest extends JaversRepositoryE2ETest {
}

def cleanup() {
// dbConnection.commit()
dbConnection.close()
}
}

0 comments on commit 33da54a

Please sign in to comment.