Skip to content

Commit

Permalink
chore: replace Plug.Adapter.Cowboy with Plug.Cowboy (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
abshierjoel authored Oct 29, 2023
1 parent f983481 commit 60301ec
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 60301ec

Please sign in to comment.