Skip to content

Commit

Permalink
Remove temporary test
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Mar 7, 2024
1 parent cc2f368 commit 7898f14
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions test/req/steps_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1632,30 +1632,6 @@ defmodule Req.StepsTest do
end

describe "put_plug" do
test "foo" do
defmodule Foo do
use GenServer

def start_link(arg) do
GenServer.start_link(__MODULE__, arg)
end

@impl true
def init(_) do
Req.get!(
plug: fn conn ->
Plug.Conn.send_resp(conn, 200, "ok")
end
)

{:ok, %{}}
end
end

start_supervised!(Foo)
Process.sleep(100)
end

test "request" do
plug = fn conn ->
{:ok, body, conn} = Plug.Conn.read_body(conn)
Expand Down

0 comments on commit 7898f14

Please sign in to comment.