Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
Update test to remove unused body value
  • Loading branch information
SimonLab committed May 17, 2022
1 parent 7cd5d91 commit fee4d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/httpoison_mock_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule HttPoisonMockTest do
end

test "Gitea.HTTPoisonMock.post when url is not supported should return status 404" do
{:ok, %HTTPoison.Response{status_code: status, body: body}} =
{:ok, %HTTPoison.Response{status_code: status}} =
Gitea.HTTPoisonMock.post("/not-defined", "any", "any")

assert status == 404
Expand Down

0 comments on commit fee4d1c

Please sign in to comment.