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:
Sergey Biryukov
2021-02-09 18:08:07 +00:00
parent 93db55f9be
commit 6b7a708fa1

View File

@@ -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() {