protected property NodeRevisionTest::$expectedResults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeRevisionTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\NodeRevisionTest::expectedResults
Expected results after the source parsing.
Type: array
Overrides MigrateSqlSourceTestCase::$expectedResults
File
- core/
modules/ node/ tests/ src/ Unit/ Plugin/ migrate/ source/ d6/ NodeRevisionTest.php, line 128 - Contains \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\NodeRevisionTest.
Class
- NodeRevisionTest
- Tests D6 node revision source plugin.
Namespace
Drupal\Tests\node\Unit\Plugin\migrate\source\d6Code
protected $expectedResults = [
[
// Node fields.
'nid' => 1,
'type' => 'page',
'language' => 'en',
'status' => 1,
'created' => 1279051598,
'changed' => 1279051598,
'comment' => 2,
'promote' => 1,
'moderate' => 0,
'sticky' => 0,
'tnid' => 0,
'translate' => 0,
// Node revision fields.
'vid' => 1,
'node_uid' => 1,
'revision_uid' => 1,
'title' => 'title for revision 1 (node 1)',
'body' => 'body for revision 1 (node 1)',
'teaser' => 'teaser for revision 1 (node 1)',
'log' => 'log for revision 1 (node 1)',
'format' => 1,
],
[
// Node fields.
'nid' => 1,
'type' => 'page',
'language' => 'en',
'status' => 1,
'created' => 1279051598,
'changed' => 1279051598,
'comment' => 2,
'promote' => 1,
'moderate' => 0,
'sticky' => 0,
'tnid' => 0,
'translate' => 0,
// Node revision fields.
'vid' => 3,
'node_uid' => 1,
'revision_uid' => 1,
'title' => 'title for revision 3 (node 1)',
'body' => 'body for revision 3 (node 1)',
'teaser' => 'teaser for revision 3 (node 1)',
'log' => 'log for revision 3 (node 1)',
'format' => 1,
],
];