Skip to content

Commit

Permalink
Merge pull request #27 from girorme/feat/improve-tests
Browse files Browse the repository at this point in the history
remove individual qty from tests
  • Loading branch information
girorme authored Jan 20, 2024
2 parents 9f973dd + 60cc95d commit 8791e9b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/result_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ defmodule ResultTest do
test "should add and return progress / results" do
host_info_ut = %{host: "127.0.0.1", port: 21_210}
assert Results.add_item(host_info_ut) == :ok
assert Results.get_qty_running() == 1

running = Results.get_running() |> Enum.map(fn %{host: host} -> host end)
assert host_info_ut.host in running
Expand All @@ -27,7 +26,6 @@ defmodule ResultTest do
Results.get_finished()
|> Enum.map(& &1[:host])

assert Results.get_qty_running() == 0
assert host_info_ut.host in finished
end

Expand All @@ -40,7 +38,6 @@ defmodule ResultTest do
Results.get_finished()
|> Enum.map(& &1[:host])

assert Results.get_qty_running() == 0
assert host_info_ut.host in finished
end
end
Expand Down

0 comments on commit 8791e9b

Please sign in to comment.