Skip to content

Commit 94c2bc5

Browse files
committed
fix test case
1 parent 55202e7 commit 94c2bc5

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

Tests/Functional/Helper/QueryFilterHelperTest.php

+17-17
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,6 @@ public function testGetCustomValueValueExpression(): void
113113
]
114114
);
115115

116-
$this->assertMatchWhere(
117-
'test_value.value BETWEEN 0 AND 10',
118-
[
119-
'glue' => 'and',
120-
'field' => 'cmf_'.$this->getFixtureById('custom_object_product')->getId(),
121-
'object' => 'custom_object',
122-
'type' => 'int',
123-
'operator' => 'between',
124-
'properties' => [
125-
'filter' => [
126-
'number_from' => 0,
127-
'number_to' => 10,
128-
],
129-
],
130-
]
131-
);
132-
133116
$this->assertMatchWhere(
134117
"test_value.value BETWEEN '2024-05-15 00:00:00' AND '2024-05-24 23:59:59'",
135118
[
@@ -217,6 +200,23 @@ public function testGetCustomValueValueExpression(): void
217200
]
218201
);
219202

203+
$this->assertMatchWhere(
204+
'test_value.value BETWEEN 0 AND 10',
205+
[
206+
'glue' => 'and',
207+
'field' => 'cmf_'.$this->getFixtureById('custom_object_product')->getId(),
208+
'object' => 'custom_object',
209+
'type' => 'int',
210+
'operator' => 'between',
211+
'properties' => [
212+
'filter' => [
213+
'number_from' => 0,
214+
'number_to' => 10,
215+
],
216+
],
217+
]
218+
);
219+
220220
$this->assertMatchWhere(
221221
'test_value.value IS NULL',
222222
[

0 commit comments

Comments
 (0)