Skip to content

Commit 58a2e32

Browse files
committed
whitespace in unit test
1 parent 1ffce5d commit 58a2e32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/phpunit/tests/admin/wpPrivacyRequestsTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ public function test_columns_should_be_sortable( $order, $orderby, $search, $exp
101101

102102
$expected_query = explode( ', ', $expected );
103103
$expected_query = array_map(
104-
function( $item ) use ( $wpdb ) {
104+
function ( $item ) use ( $wpdb ) {
105105
return "{$wpdb->posts}.{$item}";
106106
},
107107
$expected_query
108108
);
109109

110-
$this->assertStringContainsString( "ORDER BY " . implode( ', ', $expected_query ), $this->sql );
110+
$this->assertStringContainsString( 'ORDER BY ' . implode( ', ', $expected_query ), $this->sql );
111111
}
112112

113113
/**

0 commit comments

Comments
 (0)