refactor tests of the effect
* test both the effect and governor in the spec * test that the effect and governor will fail when try setting the governor state to a invalid one
This commit is contained in:
parent
1e55827d8b
commit
b34d6b294d
3 changed files with 125 additions and 63 deletions
|
|
@ -502,7 +502,7 @@ mintGATs =
|
|||
The effect script should carry an valid tagged authority token,
|
||||
and said token will be burnt in the transaction. We use 'noOpValidator'
|
||||
here as a mock effect, so no actual change is done to the governor state.
|
||||
TODO: use 'mutateGovernorEffect' as the mock effect in the future.
|
||||
TODO: use 'Agora.Effect.GovernorMutation.mutateGovernorEffect' as the mock effect in the future.
|
||||
|
||||
The governor will ensure the new governor state is valid.
|
||||
-}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue