Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / simpletest / simpletest.api.php
index d1b5f442c779b49586d38be0a2729bad184c1006..d8f8209460157c0c1f13ceb214927a30ee577a19 100644 (file)
 /**
  * Alter the list of tests.
  *
+ * 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
  *   name of the test class, and the value is in associative array containing
  *   'name', 'description', 'group', and 'requires' keys.
+ *
+ * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Convert
+ *   your test to a PHPUnit-based one and implement test listeners.
+ *
+ * @see https://www.drupal.org/node/2939892
  */
 function hook_simpletest_alter(&$groups) {
   // An alternative session handler module would not want to run the original
@@ -55,7 +62,6 @@ function hook_test_group_finished() {
 function hook_test_finished($results) {
 }
 
-
 /**
  * @} End of "addtogroup hooks".
  */