Skip to content

Commit 204cd4b

Browse files
Explanatory comment about admins
1 parent 349ab68 commit 204cd4b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/icp-cli/tests/canister_create_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ async fn canister_create_cloud_engine() {
590590
.expect("no CloudEngine subnet found in topology");
591591

592592
// Create the canister on the CloudEngine subnet
593+
// Only the admin can do this. In local envs, the admin is the anonymous principal
593594
ctx.icp()
594595
.current_dir(&project_dir)
595596
.args([

crates/icp-cli/tests/deploy_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ async fn deploy_cloud_engine() {
654654
.expect("no CloudEngine subnet found in topology");
655655

656656
// Deploy to the CloudEngine subnet
657+
// Only the admin can do this. In local envs, the admin is the anonymous principal
657658
ctx.icp()
658659
.current_dir(&project_dir)
659660
.args([

0 commit comments

Comments
 (0)