X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Faggregator%2Ftests%2Fsrc%2FKernel%2FPlugin%2Fmigrate%2Fsource%2FAggregatorItemTest.php;fp=web%2Fcore%2Fmodules%2Faggregator%2Ftests%2Fsrc%2FKernel%2FPlugin%2Fmigrate%2Fsource%2FAggregatorItemTest.php;h=09101f7cd4da9c3a01de63c951ccd6ba3f8c7bff;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/aggregator/tests/src/Kernel/Plugin/migrate/source/AggregatorItemTest.php b/web/core/modules/aggregator/tests/src/Kernel/Plugin/migrate/source/AggregatorItemTest.php new file mode 100644 index 000000000..09101f7cd --- /dev/null +++ b/web/core/modules/aggregator/tests/src/Kernel/Plugin/migrate/source/AggregatorItemTest.php @@ -0,0 +1,44 @@ + 1, + 'fid' => 1, + 'title' => 'This (three) weeks in Drupal Core - January 10th 2014', + 'link' => 'https://groups.drupal.org/node/395218', + 'author' => 'larowlan', + 'description' => "

What's new with Drupal 8?

", + 'timestamp' => 1389297196, + 'guid' => '395218 at https://groups.drupal.org', + ], + ]; + // The expected results are identical to the source data. + $tests[0]['expected_results'] = $tests[0]['database']['aggregator_item']; + + return $tests; + } + +}