Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scalatest to 3.1.0 #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ lazy val compilerOptions = Seq(
val testDependencies = Seq(
"org.mockito" % "mockito-all" % "1.10.19",
"org.scalacheck" %% "scalacheck" % "1.14.1",
"org.scalatest" %% "scalatest" % "3.0.8"
"org.scalatest" %% "scalatest" % "3.1.0"
)

val baseSettings = Seq(
Expand Down
5 changes: 3 additions & 2 deletions examples/src/test/scala/io/finch/oauth2/OAuth2Spec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package io.finch.oauth2

import com.twitter.finagle.http.Status
import io.finch.Input
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

class OAuth2Spec extends FlatSpec with Matchers {
class OAuth2Spec extends AnyFlatSpec with Matchers {
import Main._

behavior of "the token-generating endpoint"
Expand Down
9 changes: 5 additions & 4 deletions oauth2/src/test/scala/io/finch/oauth2/OAuth2Spec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import com.twitter.util.Future
import io.finch._
import io.finch.catsEffect._
import org.mockito.Mockito._
import org.scalatest.{FlatSpec, Matchers}
import org.scalatest.mockito.MockitoSugar
import org.scalatest.prop.Checkers
import org.scalatestplus.mockito.MockitoSugar
import org.scalatestplus.scalacheck.Checkers
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers

class OAuth2Spec extends FlatSpec with Matchers with Checkers with MockitoSugar {
class OAuth2Spec extends AnyFlatSpec with Matchers with Checkers with MockitoSugar {

behavior of "OAuth2"

Expand Down