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 e8754ff commit 3e53b19Copy full SHA for 3e53b19
src/Context/FeatureContext.php
@@ -1135,7 +1135,7 @@ public function test_connection(): void {
1135
]
1136
);
1137
1138
- if ( $sql_result['exit_code'] !== 0 ) {
+ if ( 0 !== $sql_result['exit_code'] ) {
1139
# WP_CLI output functions are suppressed in behat context.
1140
echo 'There was an error connecting to the database:' . \PHP_EOL;
1141
if ( ! empty( $sql_result['stderr'] ) ) {
0 commit comments