class MigrateAggregatorStubTest

Same name and namespace in other branches
  1. 8.9.x core/modules/aggregator/tests/src/Kernel/Migrate/MigrateAggregatorStubTest.php \Drupal\Tests\aggregator\Kernel\Migrate\MigrateAggregatorStubTest

Test stub creation for aggregator feeds and items.

@group aggregator @group legacy

Hierarchy

Expanded class hierarchy of MigrateAggregatorStubTest

File

core/modules/aggregator/tests/src/Kernel/Migrate/MigrateAggregatorStubTest.php, line 14

Namespace

Drupal\Tests\aggregator\Kernel\Migrate
View source
class MigrateAggregatorStubTest extends MigrateDrupalTestBase {
  use StubTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'aggregator',
  ];
  
  /**
   * {@inheritdoc}
   */
  protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('aggregator_feed');
    $this->installEntitySchema('aggregator_item');
  }
  
  /**
   * Tests creation of aggregator feed stubs.
   */
  public function testFeedStub() {
    $this->performStubTest('aggregator_feed');
  }
  
  /**
   * Tests creation of aggregator feed items.
   */
  public function testItemStub() {
    $this->performStubTest('aggregator_item');
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.