Skip to content

Commit

Permalink
tweak test code to conform with the new interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bpholt committed Jun 10, 2024
1 parent 99a558f commit 6642f1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class CryptoAlgSpec
override def fromName(name: String): IO[SelfAwareStructuredLogger[IO]] = NoOpLogger[IO].pure[IO]
}

private val resource: Fixture[CryptoAlg[IO]] = ResourceSuiteLocalFixture("CryptoAlg[IO]", CryptoAlg[IO])
private val resource = ResourceSuiteLocalFixture("CryptoAlg[IO]", CryptoAlg[IO])
override def munitFixtures = List(resource)

override protected def scalaCheckTestParameters: Test.Parameters =
Test.Parameters.default
.withMinSuccessfulTests(1)

override val munitTimeout: Duration = 2.minutes
override val munitIOTimeout: Duration = 2.minutes

test("CryptoAlg should round trip the plaintext using a key pair") {
val crypto = resource()
Expand Down

0 comments on commit 6642f1d

Please sign in to comment.