Commit 94c2bc5 1 parent 55202e7 commit 94c2bc5 Copy full SHA for 94c2bc5
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
[
@@ -217,6 +200,23 @@ public function testGetCustomValueValueExpression(): void
217
200
]
218
201
);
219
202
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
+
220
220
$ this ->assertMatchWhere (
221
221
'test_value.value IS NULL ' ,
222
222
[
You can’t perform that action at this time.
0 commit comments