protected property NodeTest::$expectedResults in Zircon Profile 8.0
Same name in this branch
- 8.0 core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/NodeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\NodeTest::expectedResults
- 8.0 core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d7\NodeTest::expectedResults
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Unit/Plugin/migrate/source/d7/NodeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d7\NodeTest::expectedResults
Expected results after the source parsing.
Type: array
Overrides MigrateSqlSourceTestCase::$expectedResults
File
- core/
modules/ node/ tests/ src/ Unit/ Plugin/ migrate/ source/ d7/ NodeTest.php, line 28 - Contains \Drupal\Tests\node\Unit\Plugin\migrate\source\d7\NodeTest.
Class
- NodeTest
- Tests D7 node source plugin.
Namespace
Drupal\Tests\node\Unit\Plugin\migrate\source\d7Code
protected $expectedResults = array(
array(
// Node fields.
'nid' => 1,
'vid' => 1,
'type' => 'page',
'language' => 'en',
'title' => 'node title 1',
'uid' => 1,
'status' => 1,
'created' => 1279051598,
'changed' => 1279051598,
'comment' => 2,
'promote' => 1,
'sticky' => 0,
'tnid' => 0,
'translate' => 0,
'log' => '',
'timestamp' => 1279051598,
),
array(
// Node fields.
'nid' => 2,
'vid' => 2,
'type' => 'page',
'language' => 'en',
'title' => 'node title 2',
'uid' => 1,
'status' => 1,
'created' => 1279290908,
'changed' => 1279308993,
'comment' => 0,
'promote' => 1,
'sticky' => 0,
'tnid' => 0,
'translate' => 0,
'log' => '',
'timestamp' => 1279308993,
),
array(
// Node fields.
'nid' => 5,
'vid' => 5,
'type' => 'article',
'language' => 'en',
'title' => 'node title 5',
'uid' => 1,
'status' => 1,
'created' => 1279290908,
'changed' => 1279308993,
'comment' => 0,
'promote' => 1,
'sticky' => 0,
'tnid' => 0,
'translate' => 0,
'log' => '',
'timestamp' => 1279308993,
),
);