fix broken tests/samples
This commit is contained in:
parent
9bc2acb9ca
commit
c6c93f587a
8 changed files with 93 additions and 38 deletions
|
|
@ -27,9 +27,10 @@ tests =
|
|||
"governor validator should pass"
|
||||
(governorValidator Shared.governor)
|
||||
( GovernorDatum
|
||||
{ proposalThresholds = Shared.defaultProposalThresholds
|
||||
, nextProposalId = ProposalId 0
|
||||
}
|
||||
Shared.defaultProposalThresholds
|
||||
(ProposalId 0)
|
||||
Shared.defaultProposalTimingConfig
|
||||
Shared.defaultCreateProposalTimeRangeMaxDuration
|
||||
)
|
||||
MutateGovernor
|
||||
( ScriptContext
|
||||
|
|
@ -48,9 +49,10 @@ tests =
|
|||
"governor validator should fail"
|
||||
(governorValidator Shared.governor)
|
||||
( GovernorDatum
|
||||
{ proposalThresholds = Shared.defaultProposalThresholds
|
||||
, nextProposalId = ProposalId 0
|
||||
}
|
||||
Shared.defaultProposalThresholds
|
||||
(ProposalId 0)
|
||||
Shared.defaultProposalTimingConfig
|
||||
Shared.defaultCreateProposalTimeRangeMaxDuration
|
||||
)
|
||||
MutateGovernor
|
||||
( ScriptContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue