Unverified Commit 46ecf354 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix tests

parent 54e246cd
Pipeline #22523 passed with stages
in 5 minutes and 31 seconds
...@@ -29,7 +29,7 @@ class ArgParserTest extends AnyFunSuite { ...@@ -29,7 +29,7 @@ class ArgParserTest extends AnyFunSuite {
val argParser = new {} with MsgFilter with ArgParser with Logging {} val argParser = new {} with MsgFilter with ArgParser with Logging {}
val parsedArgs = argParser.parse(Array("--record-set-filter", "LS-film", "asession")) val parsedArgs = argParser.parse(Array("--record-set-filter", "LS-film", "asession"))
val date = new SimpleDateFormat("YYYY-MM-dd").parse("2021-01-02"); val date = new SimpleDateFormat("YYYY-MM-dd").parse("2021-01-02");
val report = Report("aKey", "recId", "fedora-ingest", date, "SUCCESS", "blabla", "LS-film", "aInstitution", "aSession") val report = Report("aKey", "recId", date, "LS-film", "aInstitution", "aSession")
assert(parsedArgs.get._2.forall(_ (report))) assert(parsedArgs.get._2.forall(_ (report)))
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment