Mariano Cano пре 3 година
родитељ
комит
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,
 			},