8de1487d0cb62dc4b2049855f959d04766d370ff
[yaffs-website] / web / core / modules / aggregator / tests / src / Kernel / Migrate / MigrateAggregatorStubTest.php
1 <?php
2
3 namespace Drupal\Tests\aggregator\Kernel\Migrate;
4
5 use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
6 use Drupal\migrate_drupal\Tests\StubTestTrait;
7
8 /**
9  * Test stub creation for aggregator feeds and items.
10  *
11  * @group aggregator
12  */
13 class MigrateAggregatorStubTest extends MigrateDrupalTestBase {
14
15   use StubTestTrait;
16
17   /**
18    * {@inheritdoc}
19    */
20   public static $modules = ['aggregator'];
21
22   /**
23    * {@inheritdoc}
24    */
25   protected function setUp() {
26     parent::setUp();
27     $this->installEntitySchema('aggregator_feed');
28     $this->installEntitySchema('aggregator_item');
29   }
30
31   /**
32    * Tests creation of aggregator feed stubs.
33    */
34   public function testFeedStub() {
35     $this->performStubTest('aggregator_feed');
36   }
37
38   /**
39    * Tests creation of aggregator feed items.
40    */
41   public function testItemStub() {
42     $this->performStubTest('aggregator_item');
43   }
44
45 }