diff --git a/e2e/tests-dfx/print.bash b/e2e/tests-dfx/print.bash deleted file mode 100644 index 7a1349921a..0000000000 --- a/e2e/tests-dfx/print.bash +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bats - -load ../utils/_ - -setup() { - standard_setup - - dfx_new -} - -teardown() { - dfx_stop - - standard_teardown -} - -@test "print_mo" { - install_asset print - dfx_start 2>stderr.txt - dfx canister create --all - dfx build - dfx canister install e2e_project - dfx canister call e2e_project hello - sleep 2 - run tail -2 stderr.txt - assert_match "Hello, World! from DFINITY" -} diff --git a/e2e/tests-dfx/usage.bash b/e2e/tests-dfx/usage.bash index cbfaeb11d1..0ece968beb 100644 --- a/e2e/tests-dfx/usage.bash +++ b/e2e/tests-dfx/usage.bash @@ -60,3 +60,15 @@ teardown() { assert_match "$(dfx identity get-principal --identity alice)" } +@test "print_mo" { + dfx_new + install_asset print + dfx_start 2>stderr.txt + dfx canister create --all + dfx build + dfx canister install e2e_project + dfx canister call e2e_project hello + sleep 2 + run tail -2 stderr.txt + assert_match "Hello, World! from DFINITY" +}