Skip to content

Commit

Permalink
Test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Sweeting committed Jun 5, 2019
1 parent ccc3bbc commit e4735c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/consumer_supervisor_test.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Rabbit.ConsumerSupervisorTest do
use ExUnit.Case

alias Rabbit.{Connection, ConsumerSupervisor, Producer}
alias Rabbit.Connection

defmodule ConsumersOne do
use Rabbit.ConsumerSupervisor
Expand Down Expand Up @@ -38,8 +38,7 @@ defmodule Rabbit.ConsumerSupervisorTest do

setup do
{:ok, connection} = Connection.start_link()
{:ok, producer} = Producer.start_link(connection)
%{connection: connection, producer: producer}
%{connection: connection}
end

describe "start_link/2" do
Expand Down

0 comments on commit e4735c5

Please sign in to comment.