mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 14:51:30 +00:00
Merge fix/coverage-N.AB-ci-fix-2: digicert QF1002 4th hit fixed
This commit is contained in:
@@ -99,8 +99,8 @@ func TestDigicert_GetOrderStatus_PendingProcessingDeniedUnknown(t *testing.T) {
|
||||
for _, tc := range cases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
switch {
|
||||
case r.URL.Path == "/user/me":
|
||||
switch r.URL.Path {
|
||||
case "/user/me":
|
||||
w.WriteHeader(http.StatusOK)
|
||||
_, _ = w.Write([]byte(`{"id":1}`))
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user