-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(nns): Clean up integration test helpers (#3812)
Changes: * Some test helper methods are duplicated between `rs/nns/test_utils/src/itest_helpers.rs` and `rs/nns/test_utils/src/governance.rs`, and among those duplicated code some are not used at all. Delete those unused ones. * `change_nns_canister_by_proposal` is hostile to those use cases where canisters are upgraded to the same wasm but different arg. The `old_wasm != new_wasm` doesn't seem to be very useful in general. The check is removed in this PR * The purpose is to switch `//rs/tests/cross_chain:ic_xc_ledger_suite_orchestrator_test_head_nns` to use this test helper while sending proposals to add ERC20 tokens (which uses the same WASM but with an upgrade arg) Currently the test is using `NnsFunction::NnsCanisterUpgrade` and we want to move away from it.
- Loading branch information
1 parent
90acaff
commit fa83f00
Showing
2 changed files
with
2 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters