diff --git a/build.sbt b/build.sbt index e6381f01..f0d6563e 100644 --- a/build.sbt +++ b/build.sbt @@ -23,7 +23,7 @@ lazy val treehub = (project in file(".")) .settings(Seq(libraryDependencies ++= { val akkaV = "2.6.20" val akkaHttpV = "10.2.10" - val scalaTestV = "3.0.9" + val scalaTestV = "3.2.19" val libatsV = "2.1.2" Seq( diff --git a/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala b/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala index 0cc33e28..b58f20d6 100644 --- a/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala +++ b/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala @@ -3,9 +3,10 @@ package com.advancedtelematic.data import com.advancedtelematic.data.DataType.{StaticDeltaIndex, SuperBlockHash} import com.advancedtelematic.libats.messaging_datatype.DataType.Commit import eu.timepit.refined.api.RefType -import org.scalatest.{FunSuite, Matchers} +import org.scalatest.funsuite.AnyFunSuite +import org.scalatest.matchers.should.Matchers -class GVariantEncoderSpec extends FunSuite with Matchers { +class GVariantEncoderSpec extends AnyFunSuite with Matchers { def Commit(str: String): Commit = RefType.applyRef[Commit](str).toOption.get diff --git a/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala b/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala index a6401264..e8f91040 100644 --- a/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala +++ b/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala @@ -4,9 +4,10 @@ import com.advancedtelematic.libats.data.DataType.Namespace import com.advancedtelematic.treehub.Settings import com.typesafe.config.{Config, ConfigFactory} import org.scalatest.concurrent.ScalaFutures -import org.scalatest.{FunSuite, Matchers} +import org.scalatest.funsuite.AnyFunSuite +import org.scalatest.matchers.should.Matchers -abstract class TreeHubSpec extends FunSuite with Matchers with ScalaFutures with Settings { +abstract class TreeHubSpec extends AnyFunSuite with Matchers with ScalaFutures with Settings { val defaultNs = Namespace("default") val testDbConfig: Config = ConfigFactory.load().getConfig("ats.treehub.database") }