Skip to content

Commit

Permalink
RequestCertificate: tests: don't use "require" in the server goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
maelvls committed Jan 27, 2023
1 parent e8caa32 commit efcecd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/venafi/tpp/connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ func TestRequestCertificate(t *testing.T) {
}
assert.Equal(t, mockCalls[i].expectReqPath, r.URL.Path)
bytes, err := ioutil.ReadAll(r.Body)
require.NoError(t, err)
assert.NoError(t, err)
assert.JSONEq(t, mockCalls[i].expectReqBody, string(bytes))
writeRespWithCustomStatus(w, mockCalls[i].mockStatus, mockCalls[i].mockBody)
}))
Expand Down

0 comments on commit efcecd6

Please sign in to comment.