Skip to content

Commit

Permalink
chore: remove duplicate scenario in msg_retire.feature
Browse files Browse the repository at this point in the history
  • Loading branch information
wgwz committed Aug 2, 2022
1 parent 5b91534 commit 848afeb
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions x/ecocredit/core/features/msg_retire.feature
Original file line number Diff line number Diff line change
Expand Up @@ -128,20 +128,3 @@ Feature: MsgRetire
"""
When the message is validated
Then expect the error "invalid jurisdiction: foo, expected format <country-code>[-<region-code>[ <postal-code>]]: parse error: invalid request"

Scenario: an error is returned if jurisdiction is an empty string
Given the message
"""
{
"owner": "regen1depk54cuajgkzea6zpgkq36tnjwdzv4ak663u6",
"credits": [
{
"batch_denom": "C01-001-20200101-20210101-001",
"amount": "100"
}
],
"jurisdiction": ""
}
"""
When the message is validated
Then expect the error "jurisdiction cannot be empty, expected format <country-code>[-<region-code>[ <postal-code>]]: parse error: invalid request"

0 comments on commit 848afeb

Please sign in to comment.