caore d8 files
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
name: 'Drupal system listing compatible test'
|
||||
type: module
|
||||
description: 'Support module for testing the drupal_system_listing function.'
|
||||
package: Testing
|
||||
# version: VERSION
|
||||
# core: 8.x
|
||||
|
||||
# Information added by Drupal.org packaging script on 2016-08-03
|
||||
version: '8.1.8'
|
||||
core: '8.x'
|
||||
project: 'drupal'
|
||||
datestamp: 1470233790
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\drupal_system_listing_compatible_test\Tests;
|
||||
|
||||
use Drupal\simpletest\WebTestBase;
|
||||
|
||||
/**
|
||||
* Verifies that tests in installation profile modules are found and may use
|
||||
* another profile for running tests.
|
||||
*
|
||||
* @group drupal_system_listing_compatible_test
|
||||
*/
|
||||
class SystemListingCompatibleTest extends WebTestBase {
|
||||
|
||||
/**
|
||||
* Attempt to enable a module from the Testing profile.
|
||||
*
|
||||
* This test uses the Minimal profile, but enables a module from the Testing
|
||||
* profile to confirm that a different profile can be used for running tests.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $modules = array('drupal_system_listing_compatible_test');
|
||||
|
||||
/**
|
||||
* Use the Minimal profile.
|
||||
*
|
||||
* This test needs to use a different installation profile than the test which
|
||||
* asserts that this test is found.
|
||||
*
|
||||
* @see SimpleTestInstallationProfileModuleTestsTestCase
|
||||
*/
|
||||
protected $profile = 'minimal';
|
||||
|
||||
/**
|
||||
* Non-empty test* method required to executed the test case class.
|
||||
*/
|
||||
function testSystemListing() {
|
||||
$this->pass(__CLASS__ . ' test executed.');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user