node_type_basic_page.php in Acquia Content Hub 8.2
Same filename in this branch
- 8.2 tests/fixtures/import/drupal-9.2/expectations/node/node_type_basic_page.php
- 8.2 tests/fixtures/import/drupal-9.0/expectations/node/node_type_basic_page.php
- 8.2 tests/fixtures/import/drupal-8.9/expectations/node/node_type_basic_page.php
- 8.2 tests/fixtures/import/drupal-9.1/expectations/node/node_type_basic_page.php
- 8.2 tests/fixtures/import/drupal-8.8/expectations/node/node_type_basic_page.php
Expectation for node type basic page scenario.
File
tests/fixtures/import/drupal-8.9/expectations/node/node_type_basic_page.phpView source
<?php
/**
* @file
* Expectation for node type basic page scenario.
*/
use Drupal\Tests\acquia_contenthub\Kernel\Stubs\CdfExpectations;
$data = [
'uuid' => '959b13f5-10b5-403b-b23d-f3e49aaa8776',
'langcode' => 'en',
'status' => TRUE,
'dependencies' => [],
'_core' => [
'default_config_hash' => 'KuyA4NHPXcmKAjRtwa0vQc2ZcyrUJy6IlS2TAyMNRbc',
],
'name' => 'Basic page',
'type' => 'page',
'description' => 'Use <em>basic pages</em> for your static content, such as an \'About us\' page.',
'help' => '',
'new_revision' => TRUE,
'preview_mode' => 1,
'display_submitted' => FALSE,
];
$expectations = [
'959b13f5-10b5-403b-b23d-f3e49aaa8776' => new CdfExpectations($data),
];
return $expectations;