You are here

protected property ContactCategoryTest::$expectedResults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/contact/tests/src/Unit/Plugin/migrate/source/ContactCategoryTest.php \Drupal\Tests\contact\Unit\Plugin\migrate\source\ContactCategoryTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/contact/tests/src/Unit/Plugin/migrate/source/ContactCategoryTest.php, line 29
Contains \Drupal\Tests\contact\Unit\Plugin\migrate\source\ContactCategoryTest.

Class

ContactCategoryTest
Tests contact_category source plugin.

Namespace

Drupal\Tests\contact\Unit\Plugin\migrate\source

Code

protected $expectedResults = array(
  array(
    'cid' => 1,
    'category' => 'contact category value 1',
    'recipients' => array(
      'admin@example.com',
      'user@example.com',
    ),
    'reply' => 'auto reply value 1',
    'weight' => 0,
    'selected' => 0,
  ),
  array(
    'cid' => 2,
    'category' => 'contact category value 2',
    'recipients' => array(
      'admin@example.com',
      'user@example.com',
    ),
    'reply' => 'auto reply value 2',
    'weight' => 0,
    'selected' => 0,
  ),
);