From 4b03c43fd722405ac84c6543d4820d9e07e8016c Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 29 Aug 2017 17:22:22 +0200 Subject: [PATCH] fix specs. --- test/web/twitter_api/views/user_view_test.exs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/web/twitter_api/views/user_view_test.exs b/test/web/twitter_api/views/user_view_test.exs index b81d3d64d..7b3289422 100644 --- a/test/web/twitter_api/views/user_view_test.exs +++ b/test/web/twitter_api/views/user_view_test.exs @@ -50,7 +50,9 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do "profile_image_url_original" => image, "following" => false, "rights" => %{}, - "statusnet_profile_url" => user.ap_id + "statusnet_profile_url" => user.ap_id, + "cover_photo" => nil, + "background_image" => nil } assert represented == UserView.render("show.json", %{user: user}) @@ -76,7 +78,9 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do "profile_image_url_original" => image, "following" => true, "rights" => %{}, - "statusnet_profile_url" => user.ap_id + "statusnet_profile_url" => user.ap_id, + "cover_photo" => nil, + "background_image" => nil } assert represented == UserView.render("show.json", %{user: user, for: follower}) -- 2.45.2