You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (version_compare(App::version(), '11.17.0', '>=')) {
104
-
$this->assertEquals(
105
-
['select * from "example" where "str"::text ilike ? or "str"::text ilike ?', 'select * from "example" where "str"::text like ? or "str"::text like ?'],
106
-
array_column($queries, 'query'),
107
-
);
108
-
} else {
109
-
$this->assertEquals(
110
-
['select * from "example" where "str" ilike ? or "str" ilike ?', 'select * from "example" where "str" like ? or "str" like ?'],
111
-
array_column($queries, 'query'),
112
-
);
113
-
}
114
-
102
+
$this->assertEquals(
103
+
['select * from "example" where "str"::text ilike ? or "str"::text ilike ?', 'select * from "example" where "str"::text like ? or "str"::text like ?'],
if (version_compare(App::version(), '11.17.0', '>=')) {
195
-
$this->assertEquals(
196
-
['select * from "example" where "str"::text not ilike ? or "str"::text not ilike ?', 'select * from "example" where "str"::text not like ? or "str"::text not like ?'],
197
-
array_column($queries, 'query'),
198
-
);
199
-
} else {
200
-
$this->assertEquals(
201
-
['select * from "example" where "str" not ilike ? or "str" not ilike ?', 'select * from "example" where "str" not like ? or "str" not like ?'],
202
-
array_column($queries, 'query'),
203
-
);
204
-
}
205
-
184
+
$this->assertEquals(
185
+
['select * from "example" where "str"::text not ilike ? or "str"::text not ilike ?', 'select * from "example" where "str"::text not like ? or "str"::text not like ?'],
0 commit comments