@@ -31,7 +31,7 @@ public function testProcessWithFlagOn()
31
31
'/WHERE Articles\.is_active = \:c0$/ ' ,
32
32
$ filter ->getQuery ()->sql ()
33
33
);
34
- $ this ->assertEquals (
34
+ $ this ->assertSame (
35
35
[true ],
36
36
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
37
37
);
@@ -53,7 +53,7 @@ public function testProcessWithFlagOff()
53
53
'/WHERE Articles\.is_active = \:c0$/ ' ,
54
54
$ filter ->getQuery ()->sql ()
55
55
);
56
- $ this ->assertEquals (
56
+ $ this ->assertSame (
57
57
[false ],
58
58
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
59
59
);
@@ -75,7 +75,7 @@ public function testProcessWithStringFlagTrue()
75
75
'/WHERE Articles\.is_active = \:c0$/ ' ,
76
76
$ filter ->getQuery ()->sql ()
77
77
);
78
- $ this ->assertEquals (
78
+ $ this ->assertSame (
79
79
[true ],
80
80
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
81
81
);
@@ -97,7 +97,7 @@ public function testProcessWithStringFlagFalse()
97
97
'/WHERE Articles\.is_active = \:c0$/ ' ,
98
98
$ filter ->getQuery ()->sql ()
99
99
);
100
- $ this ->assertEquals (
100
+ $ this ->assertSame (
101
101
[false ],
102
102
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
103
103
);
@@ -119,7 +119,7 @@ public function testProcessWithBooleanFlagTrue()
119
119
'/WHERE Articles\.is_active = \:c0$/ ' ,
120
120
$ filter ->getQuery ()->sql ()
121
121
);
122
- $ this ->assertEquals (
122
+ $ this ->assertSame (
123
123
[true ],
124
124
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
125
125
);
@@ -141,7 +141,7 @@ public function testProcessWithBooleanFlagFalse()
141
141
'/WHERE Articles\.is_active = \:c0$/ ' ,
142
142
$ filter ->getQuery ()->sql ()
143
143
);
144
- $ this ->assertEquals (
144
+ $ this ->assertSame (
145
145
[false ],
146
146
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
147
147
);
@@ -163,7 +163,7 @@ public function testProcessWithStringFlag1()
163
163
'/WHERE Articles\.is_active = \:c0$/ ' ,
164
164
$ filter ->getQuery ()->sql ()
165
165
);
166
- $ this ->assertEquals (
166
+ $ this ->assertSame (
167
167
[true ],
168
168
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
169
169
);
@@ -185,7 +185,7 @@ public function testProcessWithStringFlag0()
185
185
'/WHERE Articles\.is_active = \:c0$/ ' ,
186
186
$ filter ->getQuery ()->sql ()
187
187
);
188
- $ this ->assertEquals (
188
+ $ this ->assertSame (
189
189
[false ],
190
190
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
191
191
);
@@ -207,7 +207,7 @@ public function testProcessWithIntegerFlag1()
207
207
'/WHERE Articles\.is_active = \:c0$/ ' ,
208
208
$ filter ->getQuery ()->sql ()
209
209
);
210
- $ this ->assertEquals (
210
+ $ this ->assertSame (
211
211
[true ],
212
212
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
213
213
);
@@ -226,7 +226,7 @@ public function testProcessWithIntegerFlag0()
226
226
'/WHERE Articles\.is_active = \:c0$/ ' ,
227
227
$ filter ->getQuery ()->sql ()
228
228
);
229
- $ this ->assertEquals (
229
+ $ this ->assertSame (
230
230
[false ],
231
231
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
232
232
);
@@ -285,7 +285,7 @@ public function testProcessMultiField()
285
285
'/WHERE \(Articles\.is_active = :c0 OR Articles\.other = :c1\)$/ ' ,
286
286
$ filter ->getQuery ()->sql ()
287
287
);
288
- $ this ->assertEquals (
288
+ $ this ->assertSame (
289
289
[true , true ],
290
290
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
291
291
);
@@ -310,7 +310,7 @@ public function testProcessMultiFieldWithAndMode()
310
310
'/WHERE \(Articles\.is_active = :c0 AND Articles\.other = :c1\)$/ ' ,
311
311
$ filter ->getQuery ()->sql ()
312
312
);
313
- $ this ->assertEquals (
313
+ $ this ->assertSame (
314
314
[true , true ],
315
315
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
316
316
);
@@ -332,7 +332,7 @@ public function testProcessDefaultFallbackForDisallowedMultiValue()
332
332
'/WHERE Articles\.is_active = :c0$/ ' ,
333
333
$ filter ->getQuery ()->sql ()
334
334
);
335
- $ this ->assertEquals (
335
+ $ this ->assertSame (
336
336
[true ],
337
337
Hash::extract ($ filter ->getQuery ()->getValueBinder ()->bindings (), '{s}.value ' )
338
338
);
0 commit comments