MigrateAggregatorStubTest.php
Same filename in other branches
Namespace
Drupal\Tests\aggregator\Kernel\MigrateFile
-
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;
/**
* Test stub creation for aggregator feeds and items.
*
* @group aggregator
*/
class MigrateAggregatorStubTest extends MigrateDrupalTestBase {
use StubTestTrait;
/**
* {@inheritdoc}
*/
public static $modules = [
'aggregator',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
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');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
MigrateAggregatorStubTest | Test stub creation for aggregator feeds and items. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.