You are here

protected property BlockTest::$expectedResults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/tests/src/Unit/Plugin/migrate/source/BlockTest.php \Drupal\Tests\block\Unit\Plugin\migrate\source\BlockTest::expectedResults

Sample block instance query results from the source.

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/block/tests/src/Unit/Plugin/migrate/source/BlockTest.php, line 32
Contains \Drupal\Tests\block\Unit\Plugin\migrate\source\BlockTest.

Class

BlockTest
Tests block source plugin.

Namespace

Drupal\Tests\block\Unit\Plugin\migrate\source

Code

protected $expectedResults = array(
  array(
    'bid' => 1,
    'module' => 'block',
    'delta' => '1',
    'theme' => 'garland',
    'status' => 1,
    'weight' => 0,
    'region' => 'left',
    'visibility' => 0,
    'pages' => '',
    'title' => 'Test Title 01',
    'cache' => -1,
  ),
  array(
    'bid' => 2,
    'module' => 'block',
    'delta' => '2',
    'theme' => 'garland',
    'status' => 1,
    'weight' => 5,
    'region' => 'right',
    'visibility' => 0,
    'pages' => '<front>',
    'title' => 'Test Title 02',
    'cache' => -1,
  ),
);