diff --git a/certificate/authorization/authorizations_test.go b/certificate/authorization/authorizations_test.go index bf1b7bb43..db343b167 100644 --- a/certificate/authorization/authorizations_test.go +++ b/certificate/authorization/authorizations_test.go @@ -164,7 +164,7 @@ func TestParseToken_Invalid(t *testing.T) { userID + tokenDelimiter + base58.CheckEncode(append(data[:], []byte{0, 0, 0}...), tokenVersion), }, { - "data checksum/format error", + "data checksum or format error", userID + tokenDelimiter + base58.CheckEncode(data[:], tokenVersion)[:len(base58.CheckEncode(data[:], tokenVersion))-4] + "0000", }, }