Commit b149f591 authored by Jonas Waeber's avatar Jonas Waeber

Fix tests

parent 0beede17
Pipeline #18774 passed with stages
in 5 minutes and 31 seconds
......@@ -130,7 +130,7 @@ data class DocumentsSearchDoc(
emptyList()
),
"NoSourceIdFound",
"https://memobase.ch/record/TestIdentifier",
"TestIdentifier",
emptyList(),
emptyList(),
emptyList(),
......@@ -164,7 +164,7 @@ data class DocumentsSearchDoc(
emptyList(),
emptyList(),
emptyList(),
emptyList(),
listOf(FacetContainer.placeholder("NoInstitutionInRecord")),
FacetContainer.placeholder("NoRecordSetInRecord"),
false,
emptyList(),
......
......@@ -26,7 +26,7 @@ class TestDocumentsSearchDoc {
fun `test minimal record required`() {
val input = JSON.parse(readFile("minimal_record_required.json"))
val mappedInput = JSON.unpack(input)
val output = transformer.transform("",
val output = transformer.transform("TestIdentifier",
mappedInput
)
assertThat(output)
......
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