Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
f6b12212
Commit
f6b12212
authored
2 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
tests(end2end): upgrade metadata
parent
cd171db4
No related branches found
No related tags found
1 merge request
!44
ref(pallet-ud): remove params UdFirstReeval & UdReevalPeriodInBlocks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
end2end-tests/tests/cucumber_tests.rs
+3
-3
3 additions, 3 deletions
end2end-tests/tests/cucumber_tests.rs
resources/metadata.scale
+0
-0
0 additions, 0 deletions
resources/metadata.scale
with
3 additions
and
3 deletions
end2end-tests/tests/cucumber_tests.rs
+
3
−
3
View file @
f6b12212
...
...
@@ -72,7 +72,7 @@ async fn who_have(world: &mut DuniterWorld, who: String, amount: u64, unit: Stri
.api
.storage
()
.universal_dividend
()
.current_ud
_storage
(
None
)
.current_ud
(
None
)
.await
?
;
amount
=
(
amount
*
current_ud_amount
)
/
1_000
;
}
...
...
@@ -144,7 +144,7 @@ async fn current_ud_amount_should_be(
.api
.storage
()
.universal_dividend
()
.current_ud
_storage
(
None
)
.current_ud
(
None
)
.await
?
;
assert_eq!
(
actual
,
expected
);
Ok
(())
...
...
@@ -157,7 +157,7 @@ async fn monetary_mass_should_be(world: &mut DuniterWorld, amount: u64, cents: u
.api
.storage
()
.universal_dividend
()
.monetary_mass
_storage
(
None
)
.monetary_mass
(
None
)
.await
?
;
assert_eq!
(
actual
,
expected
);
Ok
(())
...
...
This diff is collapsed.
Click to expand it.
resources/metadata.scale
+
0
−
0
View file @
f6b12212
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment