Issue #2709581 by Torenware, pepegarciag, jhodgdon: Better explain the $modules variable in kernel tests

8.2.x
Alex Pott 2016-04-26 13:36:25 +01:00
parent 8a5cc90294
commit e1bcc7f263
1 changed files with 3 additions and 4 deletions

View File

@ -136,10 +136,9 @@ abstract class KernelTestBase extends \PHPUnit_Framework_TestCase implements Ser
/**
* Modules to enable.
*
* Test classes extending this class, and any classes in the hierarchy up to
* this class, may specify individual lists of modules to enable by setting
* this property. The values of all properties in all classes in the class
* hierarchy are merged.
* The test runner will merge the $modules lists from this class, the class
* it extends, and so on up the class hierarchy. It is not necessary to
* include modules in your list that a parent class has already declared.
*
* @see \Drupal\Tests\KernelTestBase::enableModules()
* @see \Drupal\Tests\KernelTestBase::bootKernel()