File tree Expand file tree Collapse file tree 2 files changed +6
-24
lines changed Expand file tree Collapse file tree 2 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -135,22 +135,13 @@ Feature: Import a WordPress database
135
135
Then the wp_cli_test.sql file should exist
136
136
137
137
When I try `wp db import --defaults --debug`
138
- Then STDERR should contain:
139
- """
140
- Debug (db): Running shell command: /usr/bin/env mysql --no-auto-rehash
141
- """
138
+ Then STDERR should match #Debug \(db\): Running shell command: /usr/bin/env (mysql|mariadb) --no-auto-rehash#
142
139
143
140
When I try `wp db import --debug`
144
- Then STDERR should contain:
145
- """
146
- Debug (db): Running shell command: /usr/bin/env mysql --no-defaults --no-auto-rehash
147
- """
141
+ Then STDERR should match #Debug \(db\): Running shell command: /usr/bin/env (mysql|mariadb) --no-defaults --no-auto-rehash#
148
142
149
143
When I try `wp db import --no-defaults --debug`
150
- Then STDERR should contain:
151
- """
152
- Debug (db): Running shell command: /usr/bin/env mysql --no-defaults --no-auto-rehash
153
- """
144
+ Then STDERR should match #Debug \(db\): Running shell command: /usr/bin/env (mysql|mariadb) --no-defaults --no-auto-rehash#
154
145
155
146
@require-wp-4.2
156
147
Scenario : Import db that has emoji in post
Original file line number Diff line number Diff line change @@ -76,22 +76,13 @@ Feature: Query the database with WordPress' MySQL config
76
76
Given a WP install
77
77
78
78
When I try `wp db query --defaults --debug`
79
- Then STDERR should contain:
80
- """
81
- Debug (db): Running shell command: /usr/bin/env mysql --no-auto-rehash
82
- """
79
+ Then STDERR should match #Debug \(db\): Running shell command: /usr/bin/env (mysql|mariadb) --no-auto-rehash#
83
80
84
81
When I try `wp db query --debug`
85
- Then STDERR should contain:
86
- """
87
- Debug (db): Running shell command: /usr/bin/env mysql --no-defaults --no-auto-rehash
88
- """
82
+ Then STDERR should match #Debug \(db\): Running shell command: /usr/bin/env (mysql|mariadb) --no-defaults --no-auto-rehash#
89
83
90
84
When I try `wp db query --no-defaults --debug`
91
- Then STDERR should contain:
92
- """
93
- Debug (db): Running shell command: /usr/bin/env mysql --no-defaults --no-auto-rehash
94
- """
85
+ Then STDERR should match #Debug \(db\): Running shell command: /usr/bin/env (mysql|mariadb) --no-defaults --no-auto-rehash#
95
86
96
87
Scenario : SQL modes do not include any of the modes incompatible with WordPress
97
88
Given a WP install
You can’t perform that action at this time.
0 commit comments