diff --git a/build.sbt b/build.sbt index 6c5e9039..dddd7a59 100644 --- a/build.sbt +++ b/build.sbt @@ -23,7 +23,7 @@ lazy val treehub = (project in file(".")) .settings(Seq(libraryDependencies ++= { val pekkoV = "1.1.5" val pekkoHttpV = "1.2.0" - val scalaTestV = "3.0.9" + val scalaTestV = "3.2.20" val libatsV = "5.0.0" Seq( diff --git a/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala b/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala index 0cc33e28..f56bd45d 100644 --- a/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala +++ b/src/test/scala/com/advancedtelematic/data/GVariantEncoderSpec.scala @@ -3,9 +3,9 @@ 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 -class GVariantEncoderSpec extends FunSuite with Matchers { +class GVariantEncoderSpec extends AnyFunSuite with org.scalatest.matchers.should.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..2df77696 100644 --- a/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala +++ b/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala @@ -4,9 +4,9 @@ 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 -abstract class TreeHubSpec extends FunSuite with Matchers with ScalaFutures with Settings { +abstract class TreeHubSpec extends AnyFunSuite with org.scalatest.matchers.should.Matchers with ScalaFutures with Settings { val defaultNs = Namespace("default") val testDbConfig: Config = ConfigFactory.load().getConfig("ats.treehub.database") }