You are here

protected property EntityShareCronServiceTest::$responseData in Entity Share Cron 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/EntityShareCronServiceTest.php \Drupal\Tests\entity_share_cron\Unit\EntityShareCronServiceTest::responseData

The entities data received by the HTTP client on each request.

Type: array

File

tests/src/Unit/EntityShareCronServiceTest.php, line 62

Class

EntityShareCronServiceTest
@coversDefaultClass \Drupal\entity_share_cron\EntityShareCronService @group entity_share_cron

Namespace

Drupal\Tests\entity_share_cron\Unit

Code

protected $responseData = [
  [
    [
      'type' => 'node--article',
      'id' => 'node1',
    ],
  ],
  [
    [
      'type' => 'node--article',
      'id' => 'node2',
    ],
  ],
  [
    [
      'type' => 'node--article',
      'id' => 'node3',
    ],
    [
      'type' => 'node--article',
      'id' => 'node4',
    ],
  ],
];