Skip to content

Commit

Permalink
add catch-all HTTPoisonMock.post! for: dwyl/elixir-auth-github-demo#29
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Nov 4, 2023
1 parent 483eaef commit 73312b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/httpoison_mock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,8 @@ defmodule ElixirAuthGithub.HTTPoisonMock do
) do
%{body: "access_token=12345&scope=user"}
end

def post!(_url, _body, _headers, _options) do
%{body: "access_token=123456&scope=user"}
end
end

0 comments on commit 73312b1

Please sign in to comment.