Skip to content

Commit

Permalink
add empty authority test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tqin7 committed Aug 5, 2024
1 parent 3e9cd7a commit 9de5cc2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ func TestMsgSetVaultQuotingParams(t *testing.T) {
},
expectedErr: "invalid authority",
},
"Failure - Empty Authority": {
msg: &types.MsgSetVaultQuotingParams{
Authority: "",
VaultId: constants.Vault_Clob0,
QuotingParams: constants.QuotingParams,
},
expectedErr: "invalid authority",
},
"Failure - Vault Clob 0. Invalid Quoting Params": {
msg: &types.MsgSetVaultQuotingParams{
Authority: lib.GovModuleAddress.String(),
Expand Down

0 comments on commit 9de5cc2

Please sign in to comment.