From: lain Date: Tue, 27 Nov 2018 16:31:14 +0000 (+0100) Subject: Fix CommonApi tests. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f983c1d0c6f83f80b06267479646e00421ada543;p=akkoma Fix CommonApi tests. --- diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs index cd36e409c..8fc65f4c0 100644 --- a/test/web/common_api/common_api_test.exs +++ b/test/web/common_api/common_api_test.exs @@ -17,7 +17,7 @@ defmodule Pleroma.Web.CommonAPI.Test 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