mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-18 08:36:08 +00:00
pallet-core-fellowship: import an unimported member on approve (#2883)
To align with the documentation of the approve call, we import an unimported member on approval. No changes have been made to the benchmarks as they already cover the worst-case scenario.
This commit is contained in:
1 parent
0ff3f4d3af
commit
d288c81b96
3 files changed
+35
-8
No files matched your search
@@ -378,3 +378,11 @@ fn active_changing_get_salary_works() {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn approve_imports_not_tracked_member() {
|
||||
new_test_ext().execute_with(|| {
|
||||
set_rank(10, 5);
|
||||
assert_ok!(CoreFellowship::approve(signed(5), 10, 5));
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user