@@ -10,7 +10,6 @@ HAS_GIT=0
1010function set_up_before_script() {
1111 env::active_internet_connection
1212 ACTIVE_INTERNET=$?
13- TEST_ENV_FILE=" ./tests/acceptance/fixtures/.env.default"
1413 if dependencies::has_curl || dependencies::has_wget; then
1514 HAS_DOWNLOADER=1
1615 fi
@@ -52,7 +51,7 @@ function test_install_downloads_the_latest_version() {
5251
5352 assert_string_starts_with\
5453 " $( printf " \e[1m\e[32mbashunit\e[0m - " ) " \
55- " $( " $installed_bashunit " --env " $TEST_ENV_FILE " -- version) "
54+ " $( " $installed_bashunit " --version) "
5655}
5756
5857function test_install_downloads_in_given_folder() {
@@ -74,7 +73,7 @@ function test_install_downloads_in_given_folder() {
7473
7574 assert_string_starts_with\
7675 " $( printf " \e[1m\e[32mbashunit\e[0m - " ) " \
77- " $( " $installed_bashunit " --env " $TEST_ENV_FILE " -- version) "
76+ " $( " $installed_bashunit " --version) "
7877}
7978
8079function test_install_downloads_the_given_version() {
@@ -98,7 +97,7 @@ function test_install_downloads_the_given_version() {
9897
9998 assert_same\
10099 " $( printf " \e[1m\e[32mbashunit\e[0m - 0.9.0" ) " \
101- " $( " $installed_bashunit " --env " $TEST_ENV_FILE " -- version) "
100+ " $( " $installed_bashunit " --version) "
102101}
103102
104103function test_install_downloads_the_given_version_without_dir() {
@@ -124,7 +123,7 @@ function test_install_downloads_the_given_version_without_dir() {
124123
125124 assert_same \
126125 " $( printf " \e[1m\e[32mbashunit\e[0m - 0.19.0" ) " \
127- " $( " $installed_bashunit " --env " $TEST_ENV_FILE " -- version) "
126+ " $( " $installed_bashunit " --version) "
128127}
129128
130129function test_install_downloads_the_non_stable_beta_version() {
@@ -153,7 +152,7 @@ function test_install_downloads_the_non_stable_beta_version() {
153152
154153 assert_matches\
155154 " $( printf " \(non-stable\) beta after ([0-9]+\.[0-9]+\.[0-9]+) \[2023-11-13\] 🐍 \#[a-fA-F0-9]{7}" ) " \
156- " $( " $installed_bashunit " --env " $TEST_ENV_FILE " -- version) "
155+ " $( " $installed_bashunit " --version) "
157156
158157 assert_directory_not_exists " ./deps/temp_bashunit"
159158
0 commit comments