We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb99b41 commit baa2177Copy full SHA for baa2177
features/search-replace-export.feature
@@ -153,8 +153,12 @@ Feature: Search / replace with file export
153
154
Scenario: Search / replace export invalid file
155
Given a WP install
156
+ And a suppress-error-log.php file:
157
+ """
158
+ <?php ini_set( 'error_log', null );
159
160
- When I try `wp search-replace example.com example.net --export=foo/bar.sql`
161
+ When I try `wp --require=suppress-error-log.php search-replace example.com example.net --export=foo/bar.sql`
162
Then STDERR should contain:
163
"""
164
Error: Unable to open "foo/bar.sql" for writing.
0 commit comments