Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkodev committed Feb 22, 2024
1 parent b3a194e commit ff72def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nethttp_request_adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func TestResponseHandlerIsCalledWhenProvided(t *testing.T) {
}

func TestNonFinalResponseHandlerIsCalled(t *testing.T) {
statusCodes := []int{200, 201, 202, 203, 204, 205}
statusCodes := []int{200, 201, 202, 203}

for i := 0; i < len(statusCodes); i++ {

Expand Down Expand Up @@ -372,7 +372,7 @@ func TestNonFinalResponseHandlerIsCalled(t *testing.T) {

res, err2 := adapter.Send(context.TODO(), request, internal.MockEntityFactory, nil)
assert.Nil(t, err2)
assert.Nil(t, res)
assert.NotNil(t, res)
assert.Equal(t, 2, count)
}
}
Expand Down

0 comments on commit ff72def

Please sign in to comment.