diff --git a/test/nulla_web/controllers/actor_controller_test.exs b/test/nulla_web/controllers/actor_controller_test.exs index 01cc610..db916a2 100644 --- a/test/nulla_web/controllers/actor_controller_test.exs +++ b/test/nulla_web/controllers/actor_controller_test.exs @@ -65,8 +65,8 @@ defmodule NullaWeb.ActorControllerTest do assert is_list(response["tag"]) assert is_list(response["attachment"]) assert is_map(response["endpoints"]) - assert is_map(response["icon"]) - assert is_map(response["image"]) + assert is_map(response["icon"]) or is_nil(response["icon"]) + assert is_map(response["image"]) or is_nil(response["image"]) assert is_binary(response["vcard:bday"]) or is_nil(response["vcard:bday"]) assert is_binary(response["vcard:Address"]) or is_nil(response["vcard:Address"]) end