Kaynağa Gözat

acme/authority: Fix error message in test

The error message was updated. Make the test should reflect the new
changes.
David Cowden 6 yıl önce
ebeveyn
işleme
b061d0af34
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      acme/authority_test.go

+ 1 - 1
acme/authority_test.go

@@ -1266,7 +1266,7 @@ func TestAuthorityValidateChallenge(t *testing.T) {
 				auth:  auth,
 				auth:  auth,
 				id:    ch.getID(),
 				id:    ch.getID(),
 				accID: ch.getAccountID(),
 				accID: ch.getAccountID(),
-				err:   ServerInternalErr(errors.New("error attempting challenge validation: error saving acme challenge: force")),
+				err:   ServerInternalErr(errors.New("error saving challenge: error saving acme challenge: force")),
 			}
 			}
 		},
 		},
 		"ok": func(t *testing.T) test {
 		"ok": func(t *testing.T) test {