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

Fix tests

parent 599efd4f
Pipeline #16469 passed with stages
in 6 minutes and 11 seconds
......@@ -41,7 +41,7 @@ class TestFacetBuilders {
fun `test person facet builder`(params: PersonFacetBuilderParams) {
val builder = PersonFacetBuilder()
if (builder.filter(params.source)) {
val log = builder.append(params.source)
val log = builder.append("key", params.source)
val result = builder.build()
assertAll("",
{ assertThat(log).isEqualTo(params.log) },
......@@ -100,14 +100,14 @@ class TestFacetBuilders {
fun `test multiple person facet builder`() {
val builder = PersonFacetBuilder()
builder.append(json {
builder.append("key", json {
obj(
Pair(KEYS.atType, NS.rico + "Person"),
Pair(KEYS.name, "Einstein, Albert"),
Pair(KEYS.agentIsTargetOfCreationRelation, "identifier")
)
})
builder.append(json {
builder.append("key", json {
obj(
Pair(KEYS.atType, NS.rico + "Person"),
Pair(KEYS.name, "Albert, Einstein"),
......
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