From f5731ad53d6811a5f6cc0c1d5296bb88a4e50700 Mon Sep 17 00:00:00 2001 From: Joel Abshier Date: Fri, 27 Oct 2023 16:22:56 -0500 Subject: [PATCH] chore: Replace `Plug.Adapter.Cowboy` with `Plug.Cowboy` --- mix.exs | 2 +- test/test_helper.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 856537d9..08205c1e 100644 --- a/mix.exs +++ b/mix.exs @@ -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 diff --git a/test/test_helper.exs b/test/test_helper.exs index 87981d6d..20393932 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -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)