Skip to content

Commit 7a039e8

Browse files
committed
update bypass
1 parent 5887edf commit 7a039e8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule Sentry.Mixfile do
3232
{:dialyxir, "> 0.0.0", only: :dev},
3333
{:ex_doc, "~> 0.15.0", only: :dev},
3434
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
35-
{:bypass, "~> 0.6.0", only: [:test]}
35+
{:bypass, "~> 0.7.0", only: [:test]}
3636
]
3737
end
3838

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%{"bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], []},
2-
"bypass": {:hex, :bypass, "0.6.0", "fd0a8004fada4464e2ba98497755310b892a097f2fd975f4f787cf264066a335", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, optional: false]}, {:plug, "~> 1.0", [hex: :plug, optional: false]}]},
2+
"bypass": {:hex, :bypass, "0.7.0", "591d2ac1d87ba1bb84f62656a79de2fe3909993a211021a881825b59c9f7f58f", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, optional: false]}, {:plug, "~> 1.0", [hex: :plug, optional: false]}]},
33
"certifi": {:hex, :certifi, "1.1.0", "c9b71a547016c2528a590ccfc28de786c7edb74aafa17446b84f54e04efc00ee", [:rebar3], []},
44
"cowboy": {:hex, :cowboy, "1.1.2", "61ac29ea970389a88eca5a65601460162d370a70018afe6f949a29dca91f3bb0", [:rebar3], [{:cowlib, "~> 1.0.2", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.3.2", [hex: :ranch, optional: false]}]},
55
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []},

test/sentry_test.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ defmodule SentryTest do
2828
assert conn.method == "POST"
2929
Plug.Conn.send_resp(conn, 200, ~s<{"id": "340"}>)
3030
end
31-
Bypass.pass(bypass)
3231

3332
modify_env(:sentry, filter: Sentry.TestFilter, dsn: "http://public:secret@localhost:#{bypass.port}/1")
3433

3534
assert capture_log(fn ->
3635
assert :error = Sentry.capture_message("error", [])
3736
end) =~ "Failed to send Sentry event"
37+
38+
Bypass.pass(bypass)
3839
end
3940
end

0 commit comments

Comments
 (0)