Commit e14ca21 1 parent 8c15141 commit e14ca21 Copy full SHA for e14ca21
File tree 1 file changed +17
-17
lines changed
1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -113,23 +113,6 @@ public function testGetCustomValueValueExpression(): void
113
113
]
114
114
);
115
115
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
-
133
116
$ this ->assertMatchWhere (
134
117
"test_value.value BETWEEN '2024-05-15 00:00:00' AND '2024-05-24 23:59:59' " ,
135
118
[
@@ -244,6 +227,23 @@ public function testGetCustomValueValueExpression(): void
244
227
],
245
228
]
246
229
);
230
+
231
+ $ this ->assertMatchWhere (
232
+ 'test_value.value BETWEEN 0 AND 10 ' ,
233
+ [
234
+ 'glue ' => 'and ' ,
235
+ 'field ' => 'cmf_ ' .$ this ->getFixtureById ('custom_object_product ' )->getId (),
236
+ 'object ' => 'custom_object ' ,
237
+ 'type ' => 'int ' ,
238
+ 'operator ' => 'between ' ,
239
+ 'properties ' => [
240
+ 'filter ' => [
241
+ 'number_from ' => 0 ,
242
+ 'number_to ' => 10 ,
243
+ ],
244
+ ],
245
+ ]
246
+ );
247
247
}
248
248
249
249
protected function assertMatchWhere (string $ expectedWhere , array $ filter ): void
You can’t perform that action at this time.
0 commit comments