Changeset 51565 for trunk/tests/phpunit/tests/meta/query.php
- Timestamp:
- 08/06/2021 09:52:06 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/meta/query.php
r51462 r51565 926 926 927 927 // Use regex because we don't care about the whitespace before OR. 928 $this->assert RegExp( "/{$wpdb->postmeta}\.meta_key = \'exclude\'\s+OR/", $sql['where'] );928 $this->assertMatchesRegularExpression( "/{$wpdb->postmeta}\.meta_key = \'exclude\'\s+OR/", $sql['where'] ); 929 929 $this->assertStringNotContainsString( "{$wpdb->postmeta}.post_id IS NULL", $sql['where'] ); 930 930 }
Note: See TracChangeset
for help on using the changeset viewer.