diff --git a/src/test/scala/de/htwg/se/sudoku/util/CommandSpec.scala b/src/test/scala/de/htwg/se/sudoku/util/CommandSpec.scala index 6fc735e..dd6a6cf 100644 --- a/src/test/scala/de/htwg/se/sudoku/util/CommandSpec.scala +++ b/src/test/scala/de/htwg/se/sudoku/util/CommandSpec.scala @@ -1,8 +1,6 @@ package de.htwg.se.sudoku.util -import org.junit.runner.RunWith import org.scalatest.{Matchers, WordSpec} -import org.scalatest.junit.JUnitRunner class incrCommand extends Command { var state:Int =0 @@ -13,8 +11,6 @@ class incrCommand extends Command { override def redoStep: Unit = state+=1 } - -@RunWith(classOf[JUnitRunner]) class CommandSpec extends WordSpec with Matchers { "A Command" should { diff --git a/src/test/scala/de/htwg/se/sudoku/util/UndoManagerSpec.scala b/src/test/scala/de/htwg/se/sudoku/util/UndoManagerSpec.scala index 7306d07..b9b9808 100644 --- a/src/test/scala/de/htwg/se/sudoku/util/UndoManagerSpec.scala +++ b/src/test/scala/de/htwg/se/sudoku/util/UndoManagerSpec.scala @@ -1,10 +1,7 @@ package de.htwg.se.sudoku.util -import org.junit.runner.RunWith -import org.scalatest.junit.JUnitRunner import org.scalatest.{Matchers, WordSpec} -@RunWith(classOf[JUnitRunner]) class UndoManagerSpec extends WordSpec with Matchers { "An UndoManager" should {