Skip to content

Commit 85f88fe

Browse files
committed
Require MySQL in feature tests
1 parent 50e0712 commit 85f88fe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

features/import.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Feature: Import content.
99
Error: WordPress Importer needs to be installed. Try 'wp plugin install wordpress-importer --activate'.
1010
"""
1111

12-
@require-wp-5.2
12+
@require-wp-5.2 @require-mysql
1313
Scenario: Basic export then import
1414
Given a WP install
1515
And I run `wp site empty --yes`
@@ -51,7 +51,7 @@ Feature: Import content.
5151
When I run `wp import {EXPORT_FILE} --authors=skip --skip=image_resize`
5252
Then STDOUT should not be empty
5353

54-
@require-wp-5.2
54+
@require-wp-5.2 @require-mysql
5555
Scenario: Export and import a directory of files
5656
Given a WP install
5757
And I run `mkdir export-posts`
@@ -101,7 +101,7 @@ Feature: Import content.
101101
100
102102
"""
103103

104-
@require-wp-5.2
104+
@require-wp-5.2 @require-mysql
105105
Scenario: Export and import a directory of files with .wxr and .xml extensions.
106106
Given a WP install
107107
And I run `mkdir export`
@@ -148,7 +148,7 @@ Feature: Import content.
148148
2
149149
"""
150150

151-
@require-wp-5.2
151+
@require-wp-5.2 @require-mysql
152152
Scenario: Export and import page and referencing menu item
153153
Given a WP install
154154
And I run `wp site empty --yes`
@@ -225,7 +225,7 @@ Feature: Import content.
225225
2
226226
"""
227227

228-
@require-wp-5.2
228+
@require-wp-5.2 @require-mysql
229229
Scenario: Export and import page and referencing menu item in separate files
230230
Given a WP install
231231
And I run `wp site empty --yes`
@@ -303,7 +303,7 @@ Feature: Import content.
303303
2
304304
"""
305305

306-
@require-wp-5.2
306+
@require-wp-5.2 @require-mysql
307307
Scenario: Indicate current file when importing
308308
Given a WP install
309309
And I run `wp plugin install --activate wordpress-importer`

0 commit comments

Comments
 (0)