Skip to content

Commit 3e53b19

Browse files
committed
Yoda I must
1 parent e8754ff commit 3e53b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ public function test_connection(): void {
11351135
]
11361136
);
11371137

1138-
if ( $sql_result['exit_code'] !== 0 ) {
1138+
if ( 0 !== $sql_result['exit_code'] ) {
11391139
# WP_CLI output functions are suppressed in behat context.
11401140
echo 'There was an error connecting to the database:' . \PHP_EOL;
11411141
if ( ! empty( $sql_result['stderr'] ) ) {

0 commit comments

Comments
 (0)