diff --git a/src/Tests/InlineEntityFormRevisionTest.php b/src/Tests/InlineEntityFormRevisionTest.php index 42d1186..d33814f 100644 --- a/src/Tests/InlineEntityFormRevisionTest.php +++ b/src/Tests/InlineEntityFormRevisionTest.php @@ -97,6 +97,10 @@ class InlineEntityFormRevisionTest extends InlineEntityFormTestBase { // Get and store the node and its edit path. $node = $this->drupalGetNodeByTitle($edit['title[0][value]']); $this->assertTrue($node, 'Node found in database.'); + // Without a node, additional tests are impossible. + if (!$node) { + return; + } $node_edit_url = 'node/' . $node->id() . '/edit'; // Go to the edit page.