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
Copy file name to clipboardExpand all lines: tests/src/Rules/EntityQueryHasAccessCheckRuleTest.php
+17-2Lines changed: 17 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -99,8 +99,23 @@ public function cases(): \Generator
99
99
100
100
yield'bug-494.php' => [
101
101
[__DIR__.'/data/bug-494.php'],
102
-
[]
102
+
[
103
+
[
104
+
'Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.',
105
+
43,
106
+
'See https://www.drupal.org/node/3201242',
107
+
],
108
+
[
109
+
'Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.',
110
+
103,
111
+
'See https://www.drupal.org/node/3201242',
112
+
],
113
+
[
114
+
'Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.',
0 commit comments