Skip to content

Commit

Permalink
fix(governance): Fix test result order
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Apr 29, 2022
1 parent 9f38bce commit 160c7d5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ const expectedcontractGovernorStartLog = [
'&& running a task scheduled for 3. &&',
'vote outcome: {"changes":{"MalleableNumber":"[299792458n]"}}',
'updated to {"changes":{"MalleableNumber":"[299792458n]"}}',
'Electorate,MalleableNumber changed in a vote.',
'current value of MalleableNumber is 299792458',
'MalleableNumber changed in a vote.',
'Electorate,MalleableNumber changed in a vote.',
'Number after: 299792458',
'MalleableNumber changed in a vote.',
];

test.serial('contract governance', async t => {
Expand Down Expand Up @@ -131,8 +131,8 @@ const expectedChangeElectorateLog = [
'&& running a task scheduled for 4. &&',
'vote outcome: {"changes":{"MalleableNumber":"[299792458n]"}}',
'updated to {"changes":{"MalleableNumber":"[299792458n]"}}',
'Electorate,MalleableNumber changed in a vote.',
'current value of MalleableNumber is 299792458',
'Electorate,MalleableNumber changed in a vote.',
'Electorate changed in a vote.',
'MalleableNumber changed in a vote.',
];
Expand All @@ -157,8 +157,8 @@ const expectedBrokenUpdateLog = [
'Validation complete: true',
'vote rejected outcome: Error: (an object) was not a live payment for brand (an object). It could be a used-up payment, a payment for another brand, or it might not be a payment at all.',
'update failed: Error: (an object) was not a live payment for brand (an object). It could be a used-up payment, a payment for another brand, or it might not be a payment at all.',
'Electorate,MalleableNumber changed in a vote.',
'current value of MalleableNumber is 602214090000000000000000',
'Electorate,MalleableNumber changed in a vote.',
];

test.serial('brokenUpdateStart', async t => {
Expand All @@ -181,9 +181,9 @@ const changeTwoParamsLog = [
'Validation complete: true',
'updated to ({"changes":{"Electorate":{"brand":"[Alleged: Zoe Invitation brand]","value":[{"description":"questionPoser","handle":"[Alleged: InvitationHandle]","installation":"[Alleged: Installation]","instance":"[Alleged: InstanceHandle]"}]},"MalleableNumber":"[42n]"}})',
'successful outcome: {"changes":{"Electorate":{"brand":"[Alleged: Zoe Invitation brand]","value":[{"description":"questionPoser","handle":"[Alleged: InvitationHandle]","installation":"[Alleged: Installation]","instance":"[Alleged: InstanceHandle]"}]},"MalleableNumber":"[42n]"}} ',
'Electorate,MalleableNumber changed in a vote.',
'current value of MalleableNumber is 42',
'Electorate,MalleableNumber changed in a vote.',
'Electorate,MalleableNumber changed in a vote.',
];

test.serial('changeTwoParams', async t => {
Expand Down

0 comments on commit 160c7d5

Please sign in to comment.