You are here

protected property NodeTypeTest::$expectedResults in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeTypeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\NodeTypeTest::expectedResults
  2. 8 core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d7\NodeTypeTest::expectedResults
Same name and namespace in other branches
  1. 8.0 core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d7\NodeTypeTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTypeTest.php, line 28
Contains \Drupal\Tests\node\Unit\Plugin\migrate\source\d7\NodeTypeTest.

Class

NodeTypeTest
Tests D7 node type source plugin.

Namespace

Drupal\Tests\node\Unit\Plugin\migrate\source\d7

Code

protected $expectedResults = array(
  array(
    'type' => 'page',
    'name' => 'Page',
    'base' => 'node',
    'description' => 'A <em>page</em>, similar in form to a <em>story</em>, is a simple method for creating and displaying information that rarely changes, such as an "About us" section of a website. By default, a <em>page</em> entry does not allow visitor comments and is not featured on the site\'s initial home page.',
    'help' => '',
    'title_label' => 'Title',
    'custom' => 1,
    'modified' => 0,
    'locked' => 0,
    'disabled' => 0,
    'orig_type' => 'page',
  ),
  array(
    'type' => 'story',
    'name' => 'Story',
    'base' => 'node',
    'description' => 'A <em>story</em>, similar in form to a <em>page</em>, is ideal for creating and displaying content that informs or engages website visitors. Press releases, site announcements, and informal blog-like entries may all be created with a <em>story</em> entry. By default, a <em>story</em> entry is automatically featured on the site\'s initial home page, and provides the ability to post comments.',
    'help' => '',
    'title_label' => 'Title',
    'custom' => 1,
    'modified' => 0,
    'locked' => 0,
    'disabled' => 0,
    'orig_type' => 'story',
  ),
);