core/modules/node/src/Tests/NodeTestBase.php | 3 +++ .../modules/views/src/Plugin/views/argument_validator/Entity.php | 1 + core/modules/views/src/Tests/ViewUnitTestBase.php | 9 ++------- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/core/modules/node/src/Tests/NodeTestBase.php b/core/modules/node/src/Tests/NodeTestBase.php index 764d0a8..7d38bb5 100644 --- a/core/modules/node/src/Tests/NodeTestBase.php +++ b/core/modules/node/src/Tests/NodeTestBase.php @@ -29,6 +29,9 @@ */ protected $accessHandler; + /** + * {@inheritdoc} + */ protected function setUp() { parent::setUp(); diff --git a/core/modules/views/src/Plugin/views/argument_validator/Entity.php b/core/modules/views/src/Plugin/views/argument_validator/Entity.php index c473267..d34706f 100644 --- a/core/modules/views/src/Plugin/views/argument_validator/Entity.php +++ b/core/modules/views/src/Plugin/views/argument_validator/Entity.php @@ -230,4 +230,5 @@ public function calculateDependencies() { return $dependencies; } + } diff --git a/core/modules/views/src/Tests/ViewUnitTestBase.php b/core/modules/views/src/Tests/ViewUnitTestBase.php index 6bbd44f..f9dea2e 100644 --- a/core/modules/views/src/Tests/ViewUnitTestBase.php +++ b/core/modules/views/src/Tests/ViewUnitTestBase.php @@ -53,13 +53,8 @@ protected function setUp() { * using it, it cannot be enabled normally. */ protected function setUpFixtures() { - // First install the system module first; many Views have Page displays that - // have associated menu links, for those to work, the system menus must - // already be present. - // @todo Get rid of ViewTestData::createTestViews, in favor of fixing the - // config dependencies in all tested view config entities, which will then - // allow us to use ConfigInstaller instead, which automatically handles - // dependencies. + // First install the system module. Many Views have Page displays have menu + // links, and for those to work, the system menus must already be present. $this->installConfig(array('system')); // Define the schema and views data variable before enabling the test module.