Skip to content

Commit

Permalink
chore: Replace Plug.Adapter.Cowboy with Plug.Cowboy
Browse files Browse the repository at this point in the history
  • Loading branch information
abshierjoel committed Oct 27, 2023
1 parent db02d10 commit f5731ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ defmodule Honeybadger.Mixfile do
{:expublish, "~> 2.5", only: [:dev], runtime: false},

# Test dependencies
{:plug_cowboy, ">= 1.0.0 and < 3.0.0", only: :test}
{:plug_cowboy, ">= 2.0.0 and < 3.0.0", only: :test}
]
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ defmodule Honeybadger.API do
import Plug.Conn

alias Plug.Conn
alias Plug.Adapters.Cowboy
alias Plug.Cowboy

def start(pid) do
Cowboy.http(__MODULE__, [test: pid], port: 4444)
Expand Down

0 comments on commit f5731ad

Please sign in to comment.