Fix CommonApi tests.

This commit is contained in:
lain 2018-11-27 17:31:14 +01:00
parent 0bea0308f1
commit f983c1d0c6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ test "it adds emoji when updating profiles" do
CommonAPI.update(user)
user = User.get_cached_by_ap_id(user.ap_id)
[karjalanpiirakka] = user.info["source_data"]["tag"]
[karjalanpiirakka] = user.info.source_data["tag"]
assert karjalanpiirakka["name"] == ":karjalanpiirakka:"
end