Skip to content

Commit

Permalink
Fix http1 integration tests missing :requires_internet_connection tag (
Browse files Browse the repository at this point in the history
…#443)

This should resolve the errors when excluding test with
:requires_internet_connection tag for http1 tests using the following
command.

    mix test --exclude requires_internet_connection
  • Loading branch information
kianmeng authored Jul 1, 2024
1 parent 61f0989 commit 76a6d40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/mint/http1/integration_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ defmodule Mint.HTTP1.IntegrationTest do

alias Mint.{TransportError, HTTP1, HttpBin}

@moduletag :requires_internet_connection

describe "local httpbin" do
test "200 response" do
assert {:ok, conn} = HTTP1.connect(:http, "localhost", 8080)
Expand Down

0 comments on commit 76a6d40

Please sign in to comment.