protected property ActionTest::$expectedResults in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/action/tests/src/Unit/Plugin/migrate/source/d6/ActionTest.php \Drupal\Tests\action\Unit\Plugin\migrate\source\d6\ActionTest::expectedResults
Expected results after the source parsing.
Type: array
Overrides MigrateSqlSourceTestCase::$expectedResults
File
- core/
modules/ action/ tests/ src/ Unit/ Plugin/ migrate/ source/ d6/ ActionTest.php, line 34 - Contains \Drupal\Tests\action\Unit\Plugin\migrate\source\d6\ActionTest.
Class
- ActionTest
- Tests D6 actions source plugin.
Namespace
Drupal\Tests\action\Unit\Plugin\migrate\source\d6Code
protected $expectedResults = array(
array(
'aid' => '1',
'type' => 'system',
'callback' => 'system_goto_action',
'parameters' => 'a:1:{s:3:"url";s:4:"node";}',
'description' => 'Redirect to node list page',
),
array(
'aid' => '2',
'type' => 'system',
'callback' => 'system_send_email_action',
'parameters' => 'a:3:{s:9:"recipient";s:7:"%author";s:7:"subject";s:4:"Test";s:7:"message";s:4:"Test',
'description' => 'Test notice email',
),
array(
'aid' => 'comment_publish_action',
'type' => 'comment',
'callback' => 'comment_publish_action',
'parameters' => null,
'description' => null,
),
array(
'aid' => 'node_publish_action',
'type' => 'comment',
'callback' => 'node_publish_action',
'parameters' => null,
'description' => null,
),
);