We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4bb6e commit 12de642Copy full SHA for 12de642
test/integration/foundation/infrastructure_integration_test.exs
@@ -99,6 +99,7 @@ defmodule ElixirScope.Foundation.Infrastructure.IntegrationTest do
99
CircuitBreaker.execute(breaker_name, fn ->
100
:should_not_execute
101
end)
102
+
103
:ok ->
104
# Circuit hasn't blown yet, that's also valid behavior
105
:ok
@@ -135,8 +136,10 @@ defmodule ElixirScope.Foundation.Infrastructure.IntegrationTest do
135
136
case response do
137
{:ok, http_response} ->
138
assert is_map(http_response)
139
140
%{} = http_response ->
141
142
143
_ ->
144
# If response format is different, just check it's not nil
145
assert response != nil
0 commit comments