You are here

protected property AggregatorFeedTest::$expectedResults in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/aggregator/tests/src/Unit/Plugin/migrate/source/d6/AggregatorFeedTest.php \Drupal\Tests\aggregator\Unit\Plugin\migrate\source\d6\AggregatorFeedTest::expectedResults
  2. 8 core/modules/aggregator/tests/src/Unit/Plugin/migrate/source/d7/AggregatorFeedTest.php \Drupal\Tests\aggregator\Unit\Plugin\migrate\source\d7\AggregatorFeedTest::expectedResults
Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/tests/src/Unit/Plugin/migrate/source/d6/AggregatorFeedTest.php \Drupal\Tests\aggregator\Unit\Plugin\migrate\source\d6\AggregatorFeedTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/aggregator/tests/src/Unit/Plugin/migrate/source/d6/AggregatorFeedTest.php, line 28
Contains \Drupal\Tests\aggregator\Unit\Plugin\migrate\source\d6\AggregatorFeedTest.

Class

AggregatorFeedTest
Tests D6 aggregator feed source plugin.

Namespace

Drupal\Tests\aggregator\Unit\Plugin\migrate\source\d6

Code

protected $expectedResults = array(
  array(
    'fid' => 1,
    'title' => 'feed title 1',
    'url' => 'http://example.com/feed.rss',
    'refresh' => 900,
    'checked' => 0,
    'link' => 'http://example.com',
    'description' => 'A vague description',
    'image' => '',
    'etag' => '',
    'modified' => 0,
    'block' => 5,
  ),
  array(
    'fid' => 2,
    'title' => 'feed title 2',
    'url' => 'http://example.net/news.rss',
    'refresh' => 1800,
    'checked' => 0,
    'link' => 'http://example.net',
    'description' => 'An even more vague description',
    'image' => '',
    'etag' => '',
    'modified' => 0,
    'block' => 5,
  ),
);