From f41f28efbdf255fe80c8deb2ea314a9dc04de95e Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 25 May 2023 18:17:18 +0000 Subject: [PATCH 1/2] Applied Scalafix rule(s) https://raw.githubusercontent.com/scalatest/autofix/e4de53fa40fac423bd64d165ff36bde38ce52388/3.1.x/rules/src/main/scala/org/scalatest/autofix/v3_1_x/RewriteDeprecatedNames.scala See https://github.com/scalatest/autofix/blob/master/3.1.x/README.md for details --- src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala b/src/test/scala/com/advancedtelematic/util/TreeHubSpec.scala index fdfa9f35..4e8bacf3 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") From 0c3fe8a9e4ba301f265b69c64801c49da4c6b828 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Thu, 25 May 2023 18:17:19 +0000 Subject: [PATCH 2/2] Update scalatest to 3.2.16 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index e0c0c838..b722a988 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.16" val libatsV = "2.0.11" Seq(