You are here

MigrateFileStubTest.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/file/src/Tests/Migrate/MigrateFileStubTest.php

File

core/modules/file/src/Tests/Migrate/MigrateFileStubTest.php
View source
<?php

/**
 * @file
 * Contains \Drupal\file\Tests\Migrate\MigrateFileStubTest.
 */
namespace Drupal\file\Tests\Migrate;

use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
use Drupal\migrate_drupal\Tests\StubTestTrait;

/**
 * Test stub creation for file entities.
 *
 * @group file
 */
class MigrateFileStubTest extends MigrateDrupalTestBase {
  use StubTestTrait;

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'file',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    parent::setUp();
    $this
      ->installEntitySchema('file');
  }

  /**
   * Tests creation of file stubs.
   */
  public function testStub() {
    $this
      ->performStubTest('file');
  }

}

Classes

Namesort descending Description
MigrateFileStubTest Test stub creation for file entities.