diff --git a/scassandra/src/main/scala/com/evolutiongaming/scassandra/ReplicationStrategyConfigImplicits.scala b/scassandra/src/main/scala/com/evolutiongaming/scassandra/ReplicationStrategyConfigImplicits.scala index 69675b6..600da51 100644 --- a/scassandra/src/main/scala/com/evolutiongaming/scassandra/ReplicationStrategyConfigImplicits.scala +++ b/scassandra/src/main/scala/com/evolutiongaming/scassandra/ReplicationStrategyConfigImplicits.scala @@ -1,6 +1,6 @@ package com.evolutiongaming.scassandra -import com.evolutiongaming.scassandra.ReplicationStrategyConfig.* +import com.evolutiongaming.scassandra.ReplicationStrategyConfig._ import com.evolutiongaming.scassandra.util.PureconfigSyntax._ import pureconfig.ConfigReader diff --git a/tests/src/test/scala/com/evolutiongaming/scassandra/CassandraSpec.scala b/tests/src/test/scala/com/evolutiongaming/scassandra/CassandraSpec.scala index 496acb3..4bae091 100644 --- a/tests/src/test/scala/com/evolutiongaming/scassandra/CassandraSpec.scala +++ b/tests/src/test/scala/com/evolutiongaming/scassandra/CassandraSpec.scala @@ -21,6 +21,9 @@ import org.scalatest.wordspec.AnyWordSpec class CassandraSpec extends AnyWordSpec with BeforeAndAfterAll with Matchers { + private lazy val cassandraContainer = CassandraContainer( + dockerImageNameOverride = DockerImageName.parse("cassandra:3.11.7"), + ) private lazy val config = CassandraConfig.Default.copy( @@ -28,10 +31,6 @@ class CassandraSpec extends AnyWordSpec with BeforeAndAfterAll with Matchers { port = cassandraContainer.mappedPort(9042), ) - private lazy val cassandraContainer = CassandraContainer( - dockerImageNameOverride = DockerImageName.parse("cassandra:3.11.7"), - ) - // due to test structure we need to start the container before the test suite cassandraContainer.start()