protected property CommentTestBase::$expectedResults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/tests/src/Unit/Migrate/d6/CommentTestBase.php \Drupal\Tests\comment\Unit\Migrate\d6\CommentTestBase::expectedResults
Expected results after the source parsing.
Type: array
Overrides MigrateSqlSourceTestCase::$expectedResults
File
- core/
modules/ comment/ tests/ src/ Unit/ Migrate/ d6/ CommentTestBase.php, line 34 - Contains \Drupal\Tests\comment\Unit\Migrate\d6\CommentTestBase.
Class
- CommentTestBase
- Base class for comment source unit tests.
Namespace
Drupal\Tests\comment\Unit\Migrate\d6Code
protected $expectedResults = array(
array(
'cid' => 1,
'pid' => 0,
'nid' => 2,
'uid' => 3,
'subject' => 'subject value 1',
'comment' => 'comment value 1',
'hostname' => 'hostname value 1',
'timestamp' => 1382255613,
'status' => 1,
'thread' => '',
'name' => '',
'mail' => '',
'homepage' => '',
'format' => 'testformat1',
'type' => 'story',
),
array(
'cid' => 2,
'pid' => 1,
'nid' => 3,
'uid' => 4,
'subject' => 'subject value 2',
'comment' => 'comment value 2',
'hostname' => 'hostname value 2',
'timestamp' => 1382255662,
'status' => 1,
'thread' => '',
'name' => '',
'mail' => '',
'homepage' => '',
'format' => 'testformat2',
'type' => 'page',
),
);