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
135135 Then the wp_cli_test.sql file should exist
136136
137137 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#
142139
143140 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#
148142
149143 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#
154145
155146 @require-wp-4.2
156147 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
7676 Given a WP install
7777
7878 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#
8380
8481 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#
8983
9084 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#
9586
9687 Scenario : SQL modes do not include any of the modes incompatible with WordPress
9788 Given a WP install
You can’t perform that action at this time.
0 commit comments