Fix CommonApi tests.
This commit is contained in:
parent
0bea0308f1
commit
f983c1d0c6
|
@ -17,7 +17,7 @@ test "it adds emoji when updating profiles" do
|
||||||
|
|
||||||
CommonAPI.update(user)
|
CommonAPI.update(user)
|
||||||
user = User.get_cached_by_ap_id(user.ap_id)
|
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:"
|
assert karjalanpiirakka["name"] == ":karjalanpiirakka:"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue