Skip to content

Commit 7f4e957

Browse files
committed
Update more tests for 521b204
1 parent 521b204 commit 7f4e957

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_test/AccessTableDataReplacementTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,30 +126,30 @@ public function dataProvider_DataFiltersAsSubQuery()
126126
[
127127
"filter : data = foo"
128128
],
129-
"AND ((data_bar.col1 != '' AND data_bar.col1 = ?))",
129+
"AND (data_bar.col1 = ?)",
130130
"The WHERE-clauses from page-syntax should be wrapped in parentheses"
131131
],
132132
[
133133
[
134134
"OR : data = foo"
135135
],
136-
"AND ((data_bar.col1 != '' AND data_bar.col1 = ?))",
136+
"AND (data_bar.col1 = ?)",
137137
"A single OR clause should be treated as AND clauses"
138138
],
139139
[
140140
[
141141
"filter : data = foo",
142142
"OR : data = bar"
143143
],
144-
"AND ((data_bar.col1 != '' AND data_bar.col1 = ?) OR (data_bar.col1 != '' AND data_bar.col1 = ?))",
144+
"AND (data_bar.col1 = ? OR data_bar.col1 = ?)",
145145
"The WHERE-clauses from page-syntax should be wrapped in parentheses"
146146
],
147147
[
148148
[
149149
"OR : data = bar",
150150
"filter : data = foo"
151151
],
152-
"AND ((data_bar.col1 != '' AND data_bar.col1 = ?) AND (data_bar.col1 != '' AND data_bar.col1 = ?))",
152+
"AND (data_bar.col1 = ? AND data_bar.col1 = ?)",
153153
"A single OR clause should be treated as AND clauses"
154154
]
155155
];

0 commit comments

Comments
 (0)