Skip to content

Commit

Permalink
Canister ID needed for build
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdivine committed Nov 3, 2023
1 parent ee8f7f7 commit 4f9a055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests-dfx/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -184,17 +184,17 @@ teardown() {

@test "installing one canister with an argument succeeds" {
dfx_start
assert_command dfx build e2e_project_backend
assert_command dfx canister create e2e_project_backend
assert_command dfx build e2e_project_backend
assert_command dfx canister install e2e_project_backend --argument '()'
}

@test "installing with an argument in a file succeeds" {
dfx_start
assert_command dfx canister create e2e_project_backend
assert_command dfx build e2e_project_backend
TMPFILE="$(mktemp)"
echo '()' >"$TMPFILE"
assert_command dfx canister create e2e_project_backend
assert_command dfx canister install e2e_project_backend --argument-file "$TMPFILE"
}

Expand Down

0 comments on commit 4f9a055

Please sign in to comment.