Unverified Commit 1b823bcd authored by alexpott's avatar alexpott

Issue #3157919 by ultrabob, Hardik_Patel_12, shaktik, nijolawrence, alexpott,...

Issue #3157919 by ultrabob, Hardik_Patel_12, shaktik, nijolawrence, alexpott, lauriii, Berdir, kiamlaluno: Remove unused variable $node from link module

(cherry picked from commit f884044d)
parent 58340284
......@@ -727,7 +727,9 @@ public function testEditNonNodeEntityLink() {
$entity_test_link = $entity_test_storage->create(['name' => 'correct link target']);
$entity_test_link->save();
$node = $this->drupalCreateNode(['wrong link target']);
// Create a node with the same ID as the test entity to ensure that the link
// doesn't match incorrectly.
$this->drupalCreateNode(['title' => 'wrong link target']);
$correct_link = 'entity:entity_test/' . $entity_test_link->id();
$entity_test = $entity_test_storage->create([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment