Skip to content

Commit

Permalink
PA-27048 Fix unrelated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamil-Najafov committed Jul 8, 2024
1 parent 3047d59 commit d10748f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions insrequester/requester_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package insrequester

import (
"github.com/slok/goresilience/errors"
"github.com/stretchr/testify/assert"
"net/http"
"net/http/httptest"
Expand Down Expand Up @@ -66,7 +65,7 @@ func TestRequest_Get(t *testing.T) {
_, _ = r.Get(req)
}
_, err = r.Get(req)
assert.ErrorIs(t, err, errors.ErrCircuitOpen)
assert.ErrorIs(t, err, ErrCircuitBreakerOpen)
})

t.Run("it_should_apply_headers_properly", func(t *testing.T) {
Expand Down

0 comments on commit d10748f

Please sign in to comment.