added logback back to the tests for controlling logs

This commit is contained in:
Francisco M. Aramburo Torres
2020-03-05 16:48:26 +01:00
parent 899cc5b648
commit f7dce8cb1d
3 changed files with 8 additions and 5 deletions

View File

@@ -297,6 +297,7 @@ lazy val `baas-node-state` = project.in(file("baas-node-state"))
) ++ testDeps(
slf4jApi,
slf4jSimple,
logback,
scalaTest,
mockServer,
circe,
@@ -330,7 +331,8 @@ lazy val `baas-node-interaction` = project.in(file("baas-node-interaction"))
http4sDsl,
http4sServer
) ++ testDeps(
scalaTest
scalaTest,
logback
)
)
.dependsOn(`baas-protocol-interaction-scheduling`, `baker-interface`)
@@ -346,7 +348,8 @@ lazy val `baas-node-event-listener` = project.in(file("baas-node-event-listener"
http4sDsl,
http4sServer
) ++ testDeps(
scalaTest
scalaTest,
logback
))
.dependsOn(`baas-protocol-recipe-event-publishing`, `baker-interface`)
@@ -361,7 +364,8 @@ lazy val `baas-node-baker-event-listener` = project.in(file("baas-node-baker-eve
http4sDsl,
http4sServer
) ++ testDeps(
scalaTest
scalaTest,
logback
)
)
.dependsOn(`baas-protocol-baker-event-publishing`, `baker-interface`)

View File

@@ -88,8 +88,8 @@ object Dependencies {
val objenisis = "org.objenesis" % "objenesis" % "3.1"
val jodaTime = "joda-time" % "joda-time" % "2.10.5"
val slf4jApi = "org.slf4j" % "slf4j-api" % "1.7.30"
val slf4jSimple = "org.slf4j" % "slf4j-simple" % "1.7.30"
val logback = "ch.qos.logback" % "logback-classic" % "1.2.3"
val scalaCheck = "org.scalacheck" %% "scalacheck" % "1.13.5"
val scalaLogging = "com.typesafe.scala-logging" %% "scala-logging" % "3.9.2"

View File

@@ -45,7 +45,6 @@ class BakerInquireSpec extends BakerRuntimeTestBase {
for {
(baker, recipeId) <- setupBakerWithRecipe("returnHealthRecipe", false)
recipeInformation <- baker.getRecipe(recipeId)
_ = println(recipeInformation)
_ = assert(recipeInformation.compiledRecipe.recipeId == recipeId && recipeInformation.errors.isEmpty)
} yield succeed
}