[#394] View tests fix.
This commit is contained in:
parent
7bcb6a183a
commit
abbf347dc7
2 changed files with 12 additions and 6 deletions
|
|
@ -54,7 +54,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
|
|||
note: "",
|
||||
privacy: "public",
|
||||
sensitive: false
|
||||
}
|
||||
},
|
||||
tags: []
|
||||
}
|
||||
|
||||
assert expected == AccountView.render("account.json", %{user: user})
|
||||
|
|
@ -91,7 +92,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
|
|||
note: "",
|
||||
privacy: "public",
|
||||
sensitive: false
|
||||
}
|
||||
},
|
||||
tags: []
|
||||
}
|
||||
|
||||
assert expected == AccountView.render("account.json", %{user: user})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue