Skip to content

Commit 5f2a24d

Browse files
committed
Use curl instead of wget in tests
1 parent 307f221 commit 5f2a24d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

features/install-wp-tests.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Feature: Scaffold install-wp-tests.sh tests
4545
"""
4646
And I run `wp eval-file get-phpunit-phar-url.php --skip-wordpress`
4747
And save STDOUT as {PHPUNIT_PHAR_URL}
48-
And I run `wget -q -O phpunit {PHPUNIT_PHAR_URL}`
48+
And I run `curl -sS -L -o phpunit {PHPUNIT_PHAR_URL}`
4949
And I run `chmod +x phpunit`
5050
And I run `wp plugin path`
5151
And save STDOUT as {PLUGIN_DIR}
@@ -164,7 +164,7 @@ Feature: Scaffold install-wp-tests.sh tests
164164
"""
165165
And I run `wp eval-file get-phpunit-phar-url.php --skip-wordpress`
166166
And save STDOUT as {PHPUNIT_PHAR_URL}
167-
And I run `wget -q -O phpunit {PHPUNIT_PHAR_URL}`
167+
And I run `curl -sS -L -o phpunit {PHPUNIT_PHAR_URL}`
168168
And I run `chmod +x phpunit`
169169
And I run `wp plugin path`
170170
And save STDOUT as {PLUGIN_DIR}
@@ -295,7 +295,7 @@ Feature: Scaffold install-wp-tests.sh tests
295295
"""
296296
And I run `wp eval-file get-phpunit-phar-url.php --skip-wordpress`
297297
And save STDOUT as {PHPUNIT_PHAR_URL}
298-
And I run `wget -q -O phpunit {PHPUNIT_PHAR_URL}`
298+
And I run `curl -sS -L -o phpunit {PHPUNIT_PHAR_URL}`
299299
And I run `chmod +x phpunit`
300300
And I run `wp plugin path`
301301
And save STDOUT as {PLUGIN_DIR}
@@ -406,7 +406,7 @@ Feature: Scaffold install-wp-tests.sh tests
406406
"""
407407
And I run `wp eval-file get-phpunit-phar-url.php --skip-wordpress`
408408
And save STDOUT as {PHPUNIT_PHAR_URL}
409-
And I run `wget -q -O phpunit {PHPUNIT_PHAR_URL}`
409+
And I run `curl -sS -L -o phpunit {PHPUNIT_PHAR_URL}`
410410
And I run `chmod +x phpunit`
411411
And I run `wp plugin path`
412412
And save STDOUT as {PLUGIN_DIR}

0 commit comments

Comments
 (0)