Fix CommonApi tests.

This commit is contained in:
lain 2018-11-27 17:31:14 +01:00
parent 0bea0308f1
commit f983c1d0c6

View File

@ -17,7 +17,7 @@ defmodule Pleroma.Web.CommonAPI.Test 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