Skip to content

Commit

Permalink
Fixed failing bag verifier test
Browse files Browse the repository at this point in the history
  • Loading branch information
StepanBrychta committed Oct 1, 2024
1 parent 03c1152 commit 2d270d5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ trait FixityCheckerTagsTestCases[BagLocation <: Location, BagPrefix <: Prefix[
)

withStreamReader { streamReader =>
val spyReader: StreamReaderImpl = Mockito.spy(streamReader)
val spyReader: StreamReaderImpl = Mockito.spy[StreamReaderImpl](streamReader)

withFixityChecker(spyReader) { fixityChecker =>
fixityChecker.check(expectedFileFixity) shouldBe a[
Expand Down Expand Up @@ -108,7 +108,7 @@ trait FixityCheckerTagsTestCases[BagLocation <: Location, BagPrefix <: Prefix[
)

withStreamReader { streamReader =>
val spyReader: StreamReaderImpl = Mockito.spy(streamReader)
val spyReader: StreamReaderImpl = Mockito.spy[StreamReaderImpl](streamReader)

withFixityChecker(spyReader) { fixityChecker =>
fixityChecker.check(expectedFileFixity) shouldBe a[
Expand Down Expand Up @@ -152,7 +152,7 @@ trait FixityCheckerTagsTestCases[BagLocation <: Location, BagPrefix <: Prefix[
)

withStreamReader { streamReader =>
val spyReadable: StreamReaderImpl = Mockito.spy(streamReader)
val spyReadable: StreamReaderImpl = Mockito.spy[StreamReaderImpl](streamReader)

withFixityChecker(spyReadable) { fixityChecker =>
fixityChecker.check(expectedFileFixity) shouldBe a[
Expand Down

0 comments on commit 2d270d5

Please sign in to comment.