projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
tests
/
Drupal
/
Tests
/
Core
/
Session
/
PermissionsHashGeneratorTest.php
diff --git
a/web/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
b/web/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
index aa980f8c951f6697fff68c43257da080233d5582..ef12531187116da28ddbde2d7b07131b7d3559e9 100644
(file)
--- a/
web/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
+++ b/
web/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
@@
-250,6
+250,7
@@
namespace Drupal\Core\Session;
// @todo remove once user_role_permissions() can be injected.
if (!function_exists('user_role_permissions')) {
+
function user_role_permissions(array $roles) {
$role_permissions = [];
foreach ($roles as $rid) {
@@
-257,4
+258,5
@@
if (!function_exists('user_role_permissions')) {
}
return $role_permissions;
}
+
}