mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Tests: Correct the test for NOT BETWEEN comparison operator in WP_Date_Query.
Follow-up to [29793]. Props patopaiar, jrf. See #39265, #51802. git-svn-id: https://develop.svn.wordpress.org/trunk@50276 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -225,10 +225,10 @@ class Tests_WP_Date_Query extends WP_UnitTestCase {
|
||||
|
||||
$found = $q->get_compare(
|
||||
array(
|
||||
'compare' => 'BETWEEN',
|
||||
'compare' => 'NOT BETWEEN',
|
||||
)
|
||||
);
|
||||
$this->assertSame( 'BETWEEN', $found );
|
||||
$this->assertSame( 'NOT BETWEEN', $found );
|
||||
}
|
||||
|
||||
public function test_validate_column_post_date() {
|
||||
|
||||
Reference in New Issue
Block a user