Skip to content

Commit

Permalink
EASY-2179: update scalatra (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrolke authored Apr 3, 2020
1 parent 6804ae4 commit 25bfe22
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>nl.knaw.dans.shared</groupId>
<artifactId>dans-scala-app-project</artifactId>
<version>6.0.1</version>
<version>6.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>nl.knaw.dans.easy</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ package nl.knaw.dans.easy.springfield
import java.net.URI
import java.nio.file.{ Path, Paths }

import org.scalatest._
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

class AddSubtitlesSpec extends FlatSpec with Matchers with CustomMatchers with AddSubtitles with Smithers2 {

class AddSubtitlesSpec extends AnyFlatSpec with Matchers with CustomMatchers with AddSubtitles with Smithers2 {
override val springFieldDataDir: Path = Paths.get("/data/dansstreaming")
override val smithers2BaseUri: URI = new URI("http://localhost:8080/smithers2/")
override val smithers2ConnectionTimeoutMs: Int = 100000
Expand Down
5 changes: 3 additions & 2 deletions src/test/scala/nl.knaw.dans.easy.springfield/ReadmeSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ import java.io.{ ByteArrayOutputStream, File }
import java.nio.file.Paths

import org.apache.commons.configuration.PropertiesConfiguration
import org.scalatest._
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

class ReadmeSpec extends FlatSpec with Matchers with CustomMatchers {
class ReadmeSpec extends AnyFlatSpec with Matchers with CustomMatchers {

val mockedConfigurationProperties = new PropertiesConfiguration() {
setDelimiterParsingDisabled(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package nl.knaw.dans.easy.springfield

import org.scalatest.{ FlatSpec, Matchers, OneInstancePerTest }
import org.scalatest.OneInstancePerTest
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

trait TestSupportFixture extends FlatSpec with Matchers with OneInstancePerTest
trait TestSupportFixture extends AnyFlatSpec with Matchers with OneInstancePerTest

0 comments on commit 25bfe22

Please sign in to comment.