Browse Source

Fix PHP 7.2 compatibility

merge-requests/7/head
Chi 4 years ago
parent
commit
0b77db785f
  1. 2
      tests/src/Kernel/AccessTest.php

2
tests/src/Kernel/AccessTest.php

@ -272,7 +272,7 @@ class AccessTest extends KernelTestBase {
// -- Privileged user with access check. // -- Privileged user with access check.
$this->setUpCurrentUser( $this->setUpCurrentUser(
['name' => 'User 2'], ['name' => 'User 2'],
['access content', 'create article content'], ['access content', 'create article content']
); );
$build = $this->twigExtension->drupalEntityForm('node', NULL, 'default', $node_values); $build = $this->twigExtension->drupalEntityForm('node', NULL, 'default', $node_values);

Loading…
Cancel
Save