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