Commit a0c44f77 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

MEMO-650: fix test 'test get referenced non binary resources'

parent 65866f9d
Pipeline #13723 passed with stages
in 5 minutes and 9 seconds
......@@ -52,19 +52,19 @@ class TestRdfHandler {
val rdfHandler = RdfHandler(readFile("input.nt"), "https://memobase.ch/")
val resources = rdfHandler.getReferencedNonBinaryResources()
resources.forEachIndexed { index, uri ->
resources.sorted().forEachIndexed { index, uri ->
assertThat(uri)
.isEqualTo(nonBinaryResourcesResult[index])
}
}
private val nonBinaryResourcesResult: List<String> = listOf(
"https://memobase.ch/instantiation/digital/AFZ-IB_Becker_Audiovisuals_63-1",
"https://memobase.ch/instantiation/physical/AFZ-IB_Becker_Audiovisuals_63-0",
"https://memobase.ch/institution/AFZ",
"https://memobase.ch/recordSet/BECKER",
"https://memobase.ch/institution/Memoriav",
"https://memobase.ch/instantiation/digital/AFZ-IB_Becker_Audiovisuals_63-1",
"https://memobase.ch/record/AFZ-IB_Becker_Audiovisuals_63"
"https://memobase.ch/record/AFZ-IB_Becker_Audiovisuals_63",
"https://memobase.ch/recordSet/BECKER"
)
@Test
......
Supports Markdown
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