@@ -340,7 +340,7 @@ Feature: Download WordPress
340
340
"""
341
341
And the return code should be 1
342
342
343
- Scenario : Core download without the wp-content dir
343
+ Scenario : Core download without the wp-content/plugins dir
344
344
Given an empty directory
345
345
346
346
When I run `wp core download --skip-content`
@@ -349,9 +349,31 @@ Feature: Download WordPress
349
349
Success: WordPress downloaded.
350
350
"""
351
351
And the wp-includes directory should exist
352
- And the wp-content directory should not exist
352
+ And the wp-content/plugins directory should not exist
353
353
354
- Scenario : Core download without the wp-content dir should work non US locale
354
+ Scenario : Core download without the wp-content/themes dir
355
+ Given an empty directory
356
+
357
+ When I run `wp core download --skip-content`
358
+ Then STDOUT should contain:
359
+ """
360
+ Success: WordPress downloaded.
361
+ """
362
+ And the wp-includes directory should exist
363
+ And the wp-content/themes directory should not exist
364
+
365
+ Scenario : Core download without the wp-content/plugins dir should work non US locale
366
+ Given an empty directory
367
+
368
+ When I run `wp core download --skip-content --version=4.9.11 --locale=nl_NL`
369
+ Then STDOUT should contain:
370
+ """
371
+ Success: WordPress downloaded.
372
+ """
373
+ And the wp-includes directory should exist
374
+ And the wp-content/plugins directory should not exist
375
+
376
+ Scenario : Core download without the wp-content/themes dir should work non US locale
355
377
Given an empty directory
356
378
357
379
When I run `wp core download --skip-content --version=4.9.11 --locale=nl_NL`
@@ -360,9 +382,9 @@ Feature: Download WordPress
360
382
Success: WordPress downloaded.
361
383
"""
362
384
And the wp-includes directory should exist
363
- And the wp-content directory should not exist
385
+ And the wp-content/themes directory should not exist
364
386
365
- Scenario : Core download without the wp-content dir should work if a version is set
387
+ Scenario : Core download without the wp-content/plugins dir should work if a version is set
366
388
Given an empty directory
367
389
368
390
When I try `wp core download --skip-content --version=4.7`
@@ -371,7 +393,8 @@ Feature: Download WordPress
371
393
Success: WordPress downloaded.
372
394
"""
373
395
And the wp-includes directory should exist
374
- And the wp-content directory should not exist
396
+ And the wp-content/plugins directory should not exist
397
+ And the wp-content/themes directory should not exist
375
398
376
399
Scenario : Core download with extract parameter should unzip the download file
377
400
Given an empty directory
0 commit comments