forked from AkkomaGang/akkoma
fix tests
This commit is contained in:
parent
3c00af82dc
commit
9c5d1cb9ed
2 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ def delete(conn, %{name: name}) do
|
|||
|> json(%{error: "pack name cannot be empty"})
|
||||
|
||||
{:error, error, _} ->
|
||||
error_message = add_posix_error("Couldn't delete the #{name} pack", error)
|
||||
error_message = add_posix_error("Couldn't delete the `#{name}` pack", error)
|
||||
|
||||
conn
|
||||
|> put_status(:internal_server_error)
|
||||
|
|
|
@ -471,7 +471,7 @@ test "returns an error on deletes pack when the file system is not writable", %{
|
|||
|> delete("/api/pleroma/emoji/pack?name=test_emoji_pack")
|
||||
|> json_response_and_validate_schema(500) == %{
|
||||
"error" =>
|
||||
"Couldn't delete the pack test_emoji_pack (POSIX error: Permission denied)"
|
||||
"Couldn't delete the `test_emoji_pack` pack (POSIX error: Permission denied)"
|
||||
}
|
||||
end
|
||||
after
|
||||
|
|
Loading…
Reference in a new issue