Skip to content

Commit

Permalink
Adjusted literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Oct 17, 2024
1 parent d9a81bd commit 7a9fe32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/integration/cli_diddoc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ var _ = Describe("cheqd cli - positive did", func() {

assertionMethodJSONEscaped := func() string {
b, _ := json.Marshal(types.AssertionMethodJSONUnescaped{
Id: fmt.Sprintf("%s#fragment", did),
Id: keyID,
Type: "Ed25519VerificationKey2018",
Controller: did,
PublicKeyBase58: &publicKeyBase58, // arbitrarily chosen, loosely validated
Expand Down Expand Up @@ -465,7 +465,7 @@ var _ = Describe("cheqd cli - positive did", func() {

assertionMethodJSONEscaped2 := func() string {
b, _ := json.Marshal(types.AssertionMethodJSONUnescaped{
Id: fmt.Sprintf("%s#fragment", did),
Id: keyID,
Type: "Ed25519VerificationKey2020",
Controller: did,
PublicKeyMultibase: &publicKeyMultibase, // arbitrarily chosen, loosely validated
Expand Down
2 changes: 1 addition & 1 deletion x/did/types/diddoc_diddoc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ var _ = DescribeTable("DIDDoc Validation tests", func(testCase DIDDocTestCase) {
}()},
},
isValid: false,
errorMsg: "field InvalidField is not protobuf-supported",
errorMsg: "field invalidField is not protobuf-supported",
}),
Entry(
"Assertion method is missing controller value in JSON",
Expand Down

0 comments on commit 7a9fe32

Please sign in to comment.