Skip to content

Commit 7ed37f3

Browse files
committed
Remove latest WP version resolving from run-behat-tests bin file
1 parent c57ce93 commit 7ed37f3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

bin/run-behat-tests

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ if [[ "$@" == *"--help"* ]]; then
1919
exit $ret
2020
fi
2121

22-
# Turn WP_VERSION into an actual number to make sure our tags work correctly.
23-
if [ "${WP_VERSION-latest}" = "latest" ]; then
24-
export WP_VERSION=$(curl -s https://api.wordpress.org/core/version-check/1.7/ | jq -r ".offers[0].current")
25-
fi
26-
2722
# To retrieve the WP-CLI tests package root folder, we start with this scripts
2823
# location.
2924
SOURCE="${BASH_SOURCE[0]}"

0 commit comments

Comments
 (0)