Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -154,4 +154,3 @@ class DefaultFactoryTest extends UnitTestCase {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ namespace Drupal\Tests\Component\Plugin\Discovery;
|
|||
use Drupal\Tests\UnitTestCase;
|
||||
|
||||
/**
|
||||
* @coversDefaultClass Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait
|
||||
* @uses Drupal\Component\Plugin\Discovery\DiscoveryTrait
|
||||
* @coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryCachedTrait
|
||||
* @uses \Drupal\Component\Plugin\Discovery\DiscoveryTrait
|
||||
* @group Plugin
|
||||
*/
|
||||
class DiscoveryCachedTraitTest extends UnitTestCase {
|
||||
|
|
|
@ -6,7 +6,7 @@ use Drupal\Tests\UnitTestCase;
|
|||
|
||||
/**
|
||||
* @group Plugin
|
||||
* @coversDefaultClass Drupal\Component\Plugin\Discovery\DiscoveryTrait
|
||||
* @coversDefaultClass \Drupal\Component\Plugin\Discovery\DiscoveryTrait
|
||||
*/
|
||||
class DiscoveryTraitTest extends UnitTestCase {
|
||||
|
||||
|
@ -58,9 +58,9 @@ class DiscoveryTraitTest extends UnitTestCase {
|
|||
|
||||
/**
|
||||
* @covers ::doGetDefinition
|
||||
* @expectedException Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
* @expectedException \Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
* @dataProvider providerDoGetDefinitionException
|
||||
* @uses Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
* @uses \Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
*/
|
||||
public function testDoGetDefinitionException($expected, $definitions, $plugin_id) {
|
||||
// Mock the trait.
|
||||
|
@ -96,9 +96,9 @@ class DiscoveryTraitTest extends UnitTestCase {
|
|||
|
||||
/**
|
||||
* @covers ::getDefinition
|
||||
* @expectedException Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
* @expectedException \Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
* @dataProvider providerDoGetDefinitionException
|
||||
* @uses Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
* @uses \Drupal\Component\Plugin\Exception\PluginNotFoundException
|
||||
*/
|
||||
public function testGetDefinitionException($expected, $definitions, $plugin_id) {
|
||||
// Since getDefinition is a wrapper around doGetDefinition(), we can re-use
|
||||
|
|
|
@ -6,7 +6,7 @@ use Drupal\Tests\UnitTestCase;
|
|||
|
||||
/**
|
||||
* @group Plugin
|
||||
* @coversDefaultClass Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator
|
||||
* @coversDefaultClass \Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator
|
||||
*/
|
||||
class StaticDiscoveryDecoratorTest extends UnitTestCase {
|
||||
|
||||
|
@ -17,7 +17,7 @@ class StaticDiscoveryDecoratorTest extends UnitTestCase {
|
|||
* \Callable in the mock object. The return value of this callback is
|
||||
* never used.
|
||||
*
|
||||
* @return mock
|
||||
* @return \PHPUnit_Framework_MockObject_MockObject
|
||||
* Mocked object with expectation of registerDefinitionsCallback() being
|
||||
* called once.
|
||||
*/
|
||||
|
|
|
@ -14,7 +14,7 @@ use Drupal\Tests\UnitTestCase;
|
|||
|
||||
/**
|
||||
* @group Plugin
|
||||
* @coversDefaultClass Drupal\Component\Plugin\Factory\ReflectionFactory
|
||||
* @coversDefaultClass \Drupal\Component\Plugin\Factory\ReflectionFactory
|
||||
*/
|
||||
class ReflectionFactoryTest extends UnitTestCase {
|
||||
|
||||
|
|
Reference in a new issue