MigrateAggregatorStubTest.php in Drupal 9
File
core/modules/aggregator/tests/src/Kernel/Migrate/MigrateAggregatorStubTest.php
View source
<?php
namespace Drupal\Tests\aggregator\Kernel\Migrate;
use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
use Drupal\migrate_drupal\Tests\StubTestTrait;
class MigrateAggregatorStubTest extends MigrateDrupalTestBase {
use StubTestTrait;
protected static $modules = [
'aggregator',
];
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('aggregator_feed');
$this
->installEntitySchema('aggregator_item');
}
public function testFeedStub() {
$this
->performStubTest('aggregator_feed');
}
public function testItemStub() {
$this
->performStubTest('aggregator_item');
}
}