Skip to content
Snippets Groups Projects
Commit a45c88fa authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2064277 by sergeypavlenko: Remove Unused local variable $html from...

Issue #2064277 by sergeypavlenko: Remove Unused local variable $html from /core/modules/node/lib/Drupal/node/Tests/PageViewTest.php.
parent 0bbd2b0e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -28,7 +28,7 @@ function testPageView() {
$this->assertTrue(node_load($node->id()), 'Node created.');
// Try to edit with anonymous user.
$html = $this->drupalGet("node/$node->nid/edit");
$this->drupalGet("node/$node->nid/edit");
$this->assertResponse(403);
// Create a user without permission to edit node.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment