TransmogrifierTest: Fix tests.

This commit is contained in:
lain 2020-05-18 15:47:26 +02:00
parent 7d381b16b7
commit 63ab2743ce

View File

@ -1329,7 +1329,7 @@ test "it rejects activities which reference objects with bogus origins" do
}
assert capture_log(fn ->
:error = Transmogrifier.handle_incoming(data)
{:error, _} = Transmogrifier.handle_incoming(data)
end) =~ "Object containment failed"
end
@ -1344,7 +1344,7 @@ test "it rejects activities which reference objects that have an incorrect attri
}
assert capture_log(fn ->
:error = Transmogrifier.handle_incoming(data)
{:error, _} = Transmogrifier.handle_incoming(data)
end) =~ "Object containment failed"
end
@ -1359,7 +1359,7 @@ test "it rejects activities which reference objects that have an incorrect attri
}
assert capture_log(fn ->
:error = Transmogrifier.handle_incoming(data)
{:error, _} = Transmogrifier.handle_incoming(data)
end) =~ "Object containment failed"
end
end