diff --git a/core/modules/simpletest/simpletest.api.php b/core/modules/simpletest/simpletest.api.php index ea83e07dc6..fca74230b4 100644 --- a/core/modules/simpletest/simpletest.api.php +++ b/core/modules/simpletest/simpletest.api.php @@ -13,8 +13,7 @@ /** * Alter the list of tests. * - * This hook is only invoked by the Simpletest UI builder. It will not be - * invoked by run-tests.sh or the phpunit tool. + * This hook will not be invoked by the phpunit tool. * * @param $groups * A two dimensional array, the first key is the test group, the second is the diff --git a/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml b/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml new file mode 100644 index 0000000000..2cb995bd85 --- /dev/null +++ b/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.info.yml @@ -0,0 +1,6 @@ +name: 'Simpletest deprecation test' +type: module +description: 'Support module for Simpletest deprecation tests.' +package: Testing +version: VERSION +core: 8.x diff --git a/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module b/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module new file mode 100644 index 0000000000..f61059783c --- /dev/null +++ b/core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module @@ -0,0 +1,15 @@ +assertNotEmpty( + $this->container->get('test_discovery')->getTestClasses() + ); + } + +}