diff --git a/core/modules/node/src/Tests/PagePreviewTest.php b/core/modules/node/src/Tests/PagePreviewTest.php index f7c87c5..612c463 100644 --- a/core/modules/node/src/Tests/PagePreviewTest.php +++ b/core/modules/node/src/Tests/PagePreviewTest.php @@ -263,12 +263,12 @@ function testPagePreview() { // Check the user journey from the content overview page. // Add a node to preview. - $node = $this->drupalCreateNode(array()); + $node = $this->drupalCreateNode([]); $edit = ['title[0][value]' => 'Test node']; // Create a user that can access the content overview page, and node edit // operation. - $web_user = $this->drupalCreateUser(array('access content overview', 'administer nodes', 'edit any page content', 'access user profiles')); + $web_user = $this->drupalCreateUser(['access content overview', 'administer nodes', 'edit any page content', 'access user profiles']); $this->drupalLogin($web_user); // Goto the content overview page and click Edit.