Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains \Drupal\shortcut\Tests\Migrate\MigrateShortcutStubTest.
|
||||
*/
|
||||
|
||||
namespace Drupal\shortcut\Tests\Migrate;
|
||||
|
||||
use Drupal\migrate_drupal\Tests\MigrateDrupalTestBase;
|
||||
use Drupal\migrate_drupal\Tests\StubTestTrait;
|
||||
|
||||
/**
|
||||
* Test stub creation for shortcut entities.
|
||||
*
|
||||
* @group shortcut
|
||||
*/
|
||||
class MigrateShortcutStubTest extends MigrateDrupalTestBase {
|
||||
|
||||
use StubTestTrait;
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static $modules = ['shortcut', 'link'];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->installEntitySchema('shortcut');
|
||||
// Make sure the 'default' shortcut_set is installed.
|
||||
$this->installConfig(['shortcut']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests creation of shortcut stubs.
|
||||
*/
|
||||
public function testStub() {
|
||||
$this->performStubTest('shortcut');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in a new issue