MigrateFileStubTest.php
Same filename in other branches
Namespace
Drupal\Tests\file\Kernel\MigrateFile
-
core/
modules/ file/ tests/ src/ Kernel/ Migrate/ MigrateFileStubTest.php
View source
<?php
namespace Drupal\Tests\file\Kernel\Migrate;
use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
use Drupal\migrate_drupal\Tests\StubTestTrait;
/**
* Test stub creation for file entities.
*
* @group file
*/
class MigrateFileStubTest extends MigrateDrupalTestBase {
use StubTestTrait;
/**
* {@inheritdoc}
*/
protected static $modules = [
'file',
];
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('file');
}
/**
* Tests creation of file stubs.
*/
public function testStub() {
$this->performStubTest('file');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
MigrateFileStubTest | Test stub creation for file entities. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.