Skip to content

Commit

Permalink
Switch to stub
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Sep 12, 2024
1 parent 88ec750 commit 878a8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/uplink/packages/instance/placement_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ defmodule Uplink.Packages.Instance.PlacementTest do
|> Plug.Conn.resp(200, existing_instances)
end)

Bypass.expect_once(bypass, "GET", "/1.0/cluster/members", fn conn ->
Bypass.stub(bypass, "GET", "/1.0/cluster/members", fn conn ->
conn
|> Plug.Conn.put_resp_header("content-type", "application/json")
|> Plug.Conn.resp(200, cluster_members)
Expand Down

0 comments on commit 878a8c1

Please sign in to comment.