fix existing tests
This commit is contained in:
parent
96a50419d1
commit
1865c5cf38
11 changed files with 143 additions and 80 deletions
|
|
@ -106,7 +106,7 @@ governorDatumValidProperty =
|
|||
thres <- genProposalThresholds c
|
||||
|
||||
let timing = ProposalTimingConfig 0 0 0 0
|
||||
return $ GovernorDatum thres (ProposalId 0) timing (MaxTimeRangeWidth 0)
|
||||
return $ GovernorDatum thres (ProposalId 0) timing (MaxTimeRangeWidth 0) 3
|
||||
where
|
||||
taggedInteger p = Tagged <$> chooseInteger p
|
||||
genProposalThresholds :: GovernorDatumCases -> Gen ProposalThresholds
|
||||
|
|
@ -181,6 +181,7 @@ governorMintingProperty =
|
|||
, nextProposalId = ProposalId 0
|
||||
, proposalTimings = def
|
||||
, createProposalTimeRangeMaxWidth = def
|
||||
, maximumProposalsPerStake = 3
|
||||
}
|
||||
|
||||
gen :: GovernorPolicyCases -> Gen ScriptContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue