Commit b01351a4 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix tests

parent 93572dc0
Pipeline #16120 passed with stages
in 4 minutes and 42 seconds
......@@ -149,25 +149,22 @@ class IntegrationTests {
/* IntegrationTestParams(
1,
"MEI_49884",
listOf(
"https://memobase.ch/record/BAZ-B_MEI-MEI_49884",
"https://memobase.ch/instantiation/physical/BAZ-MEI_49884-1"
),
"https://memobase.ch/record/test-record-set-id-MEI_49884",
Report(
"https://memobase.ch/record/test-institution-id-MEI_49884",
"https://memobase.ch/record/test-record-set-id-MEI_49884",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-MEI_49884."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-MEI_49884."
)
),
IntegrationTestParams(
2,
"Sig Han 1293",
"https://memobase.ch/record/test-institution-id-Sig_Han_1293",
"https://memobase.ch/record/test-record-set-id-Sig_Han_1293",
Report(
"https://memobase.ch/record/test-institution-id-Sig_Han_1293",
"https://memobase.ch/record/test-record-set-id-Sig_Han_1293",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-Sig_Han_1293."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-Sig_Han_1293."
)
),
IntegrationTestParams(
......@@ -175,69 +172,69 @@ class IntegrationTests {
"Sig Han 1293",
"ttps://memobase.ch/record/TEST_RECORD_SET-Sig_Han_1293",
Report(
"https://memobase.ch/record/test-institution-id-Sig_Han_1293",
"https://memobase.ch/record/test-record-set-id-Sig_Han_1293",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-Sig_Han_1293."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-Sig_Han_1293."
)
),
IntegrationTestParams(
4,
"InputKey",
"https://memobase.ch/record/test-institution-id-sigantur-example",
"https://memobase.ch/record/test-record-set-id-sigantur-example",
Report(
"https://memobase.ch/record/test-institution-id-sigantur-example",
"https://memobase.ch/record/test-record-set-id-sigantur-example",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-sigantur-example."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-sigantur-example."
)
),*/
IntegrationTestParams(
5,
"ID_1",
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
Report(
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-ID_1."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-ID_1."
)
)/*,
IntegrationTestParams(
6,
"ID_1",
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
Report(
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-ID_1."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-ID_1."
)
),
IntegrationTestParams(
7,
"ID_1",
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
Report(
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-ID_1."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-ID_1."
)
),
IntegrationTestParams(
8,
"ID_1",
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
Report(
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-ID_1."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-ID_1."
)
),
IntegrationTestParams(
9,
"ID_1",
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
Report(
"https://memobase.ch/record/test-institution-id-ID_1",
"https://memobase.ch/record/test-record-set-id-ID_1",
"SUCCESS",
"Successfully mapped record with id https://memobase.ch/record/test-institution-id-ID_1."
"Successfully mapped record with id https://memobase.ch/record/test-record-set-id-ID_1."
)
)*/
)
......
<https://memobase.ch/record/test-institution-id-ID_1> <http://memobase.ch/internal/isPublished> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
<https://memobase.ch/record/test-institution-id-ID_1> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasGenre> _:B .
<https://memobase.ch/record/test-institution-id-ID_1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Record> .
<https://memobase.ch/record/test-institution-id-ID_1> <https://www.ica.org/standards/RiC/ontology#hasSubject> _:B .
<https://memobase.ch/record/test-institution-id-ID_1> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/test-record-set-id> .
<https://memobase.ch/record/test-institution-id-ID_1> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/record/test-institution-id-ID_1> <https://www.ica.org/standards/RiC/ontology#isPartOf> <https://memobase.ch/recordSet/test-institution-id> .
<https://memobase.ch/record/test-institution-id-ID_1> <https://www.ica.org/standards/RiC/ontology#type> "Foto" .
<https://memobase.ch/record/test-record-set-id-ID_1> <http://memobase.ch/internal/isPublished> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
<https://memobase.ch/record/test-record-set-id-ID_1> <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasGenre> _:B .
<https://memobase.ch/record/test-record-set-id-ID_1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Record> .
<https://memobase.ch/record/test-record-set-id-ID_1> <https://www.ica.org/standards/RiC/ontology#hasSubject> _:B .
<https://memobase.ch/record/test-record-set-id-ID_1> <https://www.ica.org/standards/RiC/ontology#heldBy> <https://memobase.ch/institution/test-institution-id> .
<https://memobase.ch/record/test-record-set-id-ID_1> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/record/test-record-set-id-ID_1> <https://www.ica.org/standards/RiC/ontology#isPartOf> <https://memobase.ch/recordSet/test-record-set-id> .
<https://memobase.ch/record/test-record-set-id-ID_1> <https://www.ica.org/standards/RiC/ontology#type> "Foto" .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> .
_:B <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Identifier> .
......@@ -13,5 +13,5 @@ _:B <http://www.w3.org/2004/02/skos/core#editorialNote> "Ursprungsfeld: Genre" .
_:B <http://www.w3.org/2004/02/skos/core#editorialNote> "Ursprungsfeld: Mots clés" .
_:B <http://www.w3.org/2004/02/skos/core#prefLabel> "Genre 1, Genre 2"@fr .
_:B <http://www.w3.org/2004/02/skos/core#prefLabel> "Schlagwort 1, Schlagwort 2"@fr .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "test-institution-id-ID_1" .
_:B <https://www.ica.org/standards/RiC/ontology#identifier> "test-record-set-id-ID_1" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "main" .
\ No newline at end of file
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