Mariano Cano 3 лет назад
Родитель
Сommit
33bdae4a34
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      api/api_test.go

+ 3 - 3
api/api_test.go

@@ -1623,10 +1623,10 @@ func TestProvisionersResponse_MarshalJSON(t *testing.T) {
 				"includeRoot":                   true,
 				"excludeIntermediate":           true,
 				"challenge":                     "*** REDACTED ***",
-				"decrypterCertificate":          "*** REDACTED ***",
+				"decrypterCertificate":          []byte("*** REDACTED ***"),
 				"decrypterKey":                  "*** REDACTED ***",
-				"decrypterKeyPEM":               "*** REDACTED ***",
-				"decrypterKeyPassword":          "*** REDACTED ***",
+				"decrypterKeyPEM":               []byte("*** REDACTED ***"),
+				"decrypterKeyPassword":          []byte("*** REDACTED ***"),
 				"minimumPublicKeyLength":        2048,
 				"encryptionAlgorithmIdentifier": 2,
 			},