7df92f26075e21d158702bcbc816cffb370e412a
[yaffs-website] / web / core / profiles / testing / modules / drupal_system_listing_compatible_test / src / Tests / SystemListingCompatibleTest.php
1 <?php
2
3 namespace Drupal\drupal_system_listing_compatible_test\Tests;
4
5 use Drupal\simpletest\WebTestBase;
6
7 /**
8  * Verifies that tests in installation profile modules are found and may use
9  * another profile for running tests.
10  *
11  * @group drupal_system_listing_compatible_test
12  */
13 class SystemListingCompatibleTest extends WebTestBase {
14
15   /**
16    * Attempt to enable a module from the Testing profile.
17    *
18    * This test uses the Minimal profile, but enables a module from the Testing
19    * profile to confirm that a different profile can be used for running tests.
20    *
21    * @var array
22    */
23   public static $modules = ['drupal_system_listing_compatible_test'];
24
25   /**
26    * Use the Minimal profile.
27    *
28    * This test needs to use a different installation profile than the test which
29    * asserts that this test is found.
30    *
31    * @see SimpleTestInstallationProfileModuleTestsTestCase
32    */
33   protected $profile = 'minimal';
34
35   /**
36    * Non-empty test* method required to executed the test case class.
37    */
38   public function testSystemListing() {
39     $this->pass(__CLASS__ . ' test executed.');
40   }
41
42 }