Update Composer, update everything

This commit is contained in:
Oliver Davies 2018-11-23 12:29:20 +00:00
parent ea3e94409f
commit dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions

View file

@ -0,0 +1,6 @@
name: 'Drupal system cross profile test'
type: module
description: 'Support module for testing that a module in one profile can be reused in another profile.'
package: Testing
version: VERSION
core: 8.x

View file

@ -1,8 +1,8 @@
<?php
namespace Drupal\drupal_system_listing_compatible_test\Tests;
namespace Drupal\Tests\drupal_system_listing_compatible_test\Kernel;
use Drupal\simpletest\WebTestBase;
use Drupal\KernelTests\KernelTestBase;
/**
* Verifies that tests in installation profile modules are found and may use
@ -10,7 +10,7 @@ use Drupal\simpletest\WebTestBase;
*
* @group drupal_system_listing_compatible_test
*/
class SystemListingCompatibleTest extends WebTestBase {
class SystemListingCrossProfileCompatibleTest extends KernelTestBase {
/**
* Attempt to enable a module from the Testing profile.
@ -20,7 +20,7 @@ class SystemListingCompatibleTest extends WebTestBase {
*
* @var array
*/
public static $modules = ['drupal_system_listing_compatible_test'];
public static $modules = ['drupal_system_cross_profile_test'];
/**
* Use the Minimal profile.
@ -28,15 +28,28 @@ class SystemListingCompatibleTest extends WebTestBase {
* This test needs to use a different installation profile than the test which
* asserts that this test is found.
*
* @see SimpleTestInstallationProfileModuleTestsTestCase
* @see \Drupal\simpletest\Tests\InstallationProfileModuleTestsTest
*
* @var string
*/
protected $profile = 'minimal';
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this->setInstallProfile($this->profile);
}
/**
* Non-empty test* method required to executed the test case class.
*/
public function testSystemListing() {
$this->pass(__CLASS__ . ' test executed.');
/** @var \Drupal\Core\Extension\ModuleHandlerInterface $module_handler */
$module_handler = $this->container->get('module_handler');
$this->assertTrue($module_handler->moduleExists('drupal_system_cross_profile_test'), 'Module installed from different profile');
}
}