Skip to content

Commit

Permalink
introspection: resolve broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeneas Rekkas (arekkas) committed Dec 4, 2016
1 parent 75aad53 commit 51ab7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion introspection_response_writer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestWriteIntrospectionError(t *testing.T) {
rw := internal.NewMockResponseWriter(c)

rw.EXPECT().WriteHeader(http.StatusUnauthorized) //[]byte("{\"active\":\"false\"}"))
rw.EXPECT().Header().Return(http.Header{})
rw.EXPECT().Header().AnyTimes().Return(http.Header{})
rw.EXPECT().Write(gomock.Any())
f.WriteIntrospectionError(rw, errors.Wrap(ErrRequestUnauthorized, ""))

Expand Down

0 comments on commit 51ab7bb

Please sign in to comment.