Skip to content

Commit 12de642

Browse files
NSHkrNSHkr
authored andcommitted
fb
1 parent 2d4bb6e commit 12de642

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/integration/foundation/infrastructure_integration_test.exs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ defmodule ElixirScope.Foundation.Infrastructure.IntegrationTest do
9999
CircuitBreaker.execute(breaker_name, fn ->
100100
:should_not_execute
101101
end)
102+
102103
:ok ->
103104
# Circuit hasn't blown yet, that's also valid behavior
104105
:ok
@@ -135,8 +136,10 @@ defmodule ElixirScope.Foundation.Infrastructure.IntegrationTest do
135136
case response do
136137
{:ok, http_response} ->
137138
assert is_map(http_response)
139+
138140
%{} = http_response ->
139141
assert is_map(http_response)
142+
140143
_ ->
141144
# If response format is different, just check it's not nil
142145
assert response != nil

0 commit comments

Comments
 (0)