Fix CommonApi tests.
authorlain <lain@soykaf.club>
Tue, 27 Nov 2018 16:31:14 +0000 (17:31 +0100)
committerlain <lain@soykaf.club>
Tue, 27 Nov 2018 16:31:14 +0000 (17:31 +0100)
test/web/common_api/common_api_test.exs

index cd36e409ce5f8c0d596a87ae894643152f15f0f6..8fc65f4c0e2672bf0a125e59eb55007f831b5b00 100644 (file)
@@ -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