You are here

public function InfiniteLoopTest::testInfiniteLoopFromNodeTwo in Entity Share 8.2

Test that a referenced entity is pulled even if not selected.

In a scenario of infinite loop.

File

modules/entity_share_client/tests/src/Functional/InfiniteLoopTest.php, line 102

Class

InfiniteLoopTest
Functional test class for content entity reference field.

Namespace

Drupal\Tests\entity_share_client\Functional

Code

public function testInfiniteLoopFromNodeTwo() {

  // Select only the referencing entity.
  $selected_entities = [
    'es_test_content_reference_two',
  ];
  $this
    ->infiniteLoopTestHelper($selected_entities);
}