Skip to content

Commit 6225ae6

Browse files
hello yoda my old friend
1 parent 7b22c39 commit 6225ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/rest-api/rest-comments-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public static function wpSetUpBeforeClass( WP_UnitTest_Factory $factory ) {
119119
array(
120120
'comment_content' => "Comment {$i}",
121121
'comment_post_ID' => self::$post_id,
122-
'status' => ( $i % 2 === 0 ) ? 'approve' : 'hold',
122+
'status' => ( 0 === $i % 2 ) ? 'approve' : 'hold',
123123
)
124124
);
125125
}

0 commit comments

Comments
 (0)