Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Deletion Components
Import Process Delete
Commits
46ecf354
Unverified
Commit
46ecf354
authored
Mar 02, 2021
by
Sebastian Schüpbach
Browse files
fix tests
parent
54e246cd
Pipeline
#22523
passed with stages
in 5 minutes and 31 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
src/test/scala/ch/memobase/ArgParserTest.scala
View file @
46ecf354
...
...
@@ -29,7 +29,7 @@ class ArgParserTest extends AnyFunSuite {
val
argParser
=
new
{}
with
MsgFilter
with
ArgParser
with
Logging
{}
val
parsedArgs
=
argParser
.
parse
(
Array
(
"--record-set-filter"
,
"LS-film"
,
"asession"
))
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
)))
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment