Skip to content

Commit dd54fa2

Browse files
committed
Remove now obsolete test
We now require WP 4.9+ and PHP 7.2+, so this test is no longer relevant.
1 parent 9850529 commit dd54fa2

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

features/core-install.feature

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -177,51 +177,6 @@ Feature: Install WordPress core
177177
"""
178178
And the return code should be 0
179179
180-
@less-than-php-7
181-
Scenario: Install WordPress with locale set to de_DE on WP < 4.0
182-
Given an empty directory
183-
And an empty cache
184-
And a database
185-
186-
When I run `wp core download --version=3.7 --locale=de_DE`
187-
And save STDOUT 'Downloading WordPress ([\d\.]+)' as {VERSION}
188-
And I run `echo {VERSION}`
189-
Then STDOUT should contain:
190-
"""
191-
3.7
192-
"""
193-
And the wp-settings.php file should exist
194-
And the {SUITE_CACHE_DIR}/core/wordpress-{VERSION}-de_DE.tar.gz file should exist
195-
196-
When I run `wp config create --dbname={DB_NAME} --dbuser={DB_USER} --dbpass={DB_PASSWORD} --dbhost={DB_HOST} --locale=de_DE --skip-check`
197-
Then STDOUT should be:
198-
"""
199-
Success: Generated 'wp-config.php' file.
200-
"""
201-
202-
# Old versions of WP can generate wpdb database errors if the WP tables don't exist, so STDERR may or may not be empty
203-
When I try `wp core install --url=example.org --title=Test --admin_user=testadmin --admin_email=testadmin@example.com --admin_password=newpassword --locale=de_DE --skip-email`
204-
Then STDERR should contain:
205-
"""
206-
Warning: The flag --locale=de_DE is being ignored as it requires WordPress 4.0+.
207-
"""
208-
And STDOUT should contain:
209-
"""
210-
Success: WordPress installed successfully.
211-
"""
212-
213-
When I run `wp core version`
214-
Then STDOUT should contain:
215-
"""
216-
3.7
217-
"""
218-
219-
When I run `wp taxonomy list`
220-
Then STDOUT should contain:
221-
"""
222-
Kategorien
223-
"""
224-
225180
# This test downgrades to an older WordPress version, but the SQLite plugin requires 6.0+
226181
@require-mysql
227182
Scenario: Install WordPress with locale set to de_DE on WP >= 4.0

0 commit comments

Comments
 (0)