From ee8f7f7fce3bc33a3edb84e53867c39e185a57f8 Mon Sep 17 00:00:00 2001 From: Max Murphy Date: Fri, 3 Nov 2023 21:20:19 +0100 Subject: [PATCH] Build the wasm, as use asset doesn't provide the wasm --- e2e/tests-dfx/install.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/tests-dfx/install.bash b/e2e/tests-dfx/install.bash index 27fed3eff6..c8ecf28a9a 100644 --- a/e2e/tests-dfx/install.bash +++ b/e2e/tests-dfx/install.bash @@ -184,14 +184,14 @@ teardown() { @test "installing one canister with an argument succeeds" { dfx_start - use_asset_wasm 0.12.1 + assert_command dfx build e2e_project_backend assert_command dfx canister create e2e_project_backend assert_command dfx canister install e2e_project_backend --argument '()' } @test "installing with an argument in a file succeeds" { dfx_start - use_asset_wasm 0.12.1 + assert_command dfx build e2e_project_backend TMPFILE="$(mktemp)" echo '()' >"$TMPFILE" assert_command dfx canister create e2e_project_backend @@ -201,4 +201,4 @@ teardown() { @test "installing multiple canisters with arguments fails" { assert_command_fail dfx canister install --all --argument '()' assert_contains "error: the argument '--all' cannot be used with '--argument '" -} \ No newline at end of file +}