Skip to content
Snippets Groups Projects

Fix incorrect refereences to Drupal\Tests\KernelTestBase

Closed Alex Pott requested to merge issue/drupal-3502427:3502427-fix-references-to into 11.x
1 file
+ 9
9
Compare changes
  • Side-by-side
  • Inline
@@ -84,11 +84,11 @@
* Using Symfony's dump() function in Kernel tests will produce output on the
* command line, whether the call to dump() is in test code or site code.
*
* @see \Drupal\Tests\KernelTestBase::$modules
* @see \Drupal\Tests\KernelTestBase::enableModules()
* @see \Drupal\Tests\KernelTestBase::installConfig()
* @see \Drupal\Tests\KernelTestBase::installEntitySchema()
* @see \Drupal\Tests\KernelTestBase::installSchema()
* @see \Drupal\KernelTests\KernelTestBase::$modules
* @see \Drupal\KernelTests\KernelTestBase::enableModules()
* @see \Drupal\KernelTests\KernelTestBase::installConfig()
* @see \Drupal\KernelTests\KernelTestBase::installEntitySchema()
* @see \Drupal\KernelTests\KernelTestBase::installSchema()
* @see \Drupal\Tests\BrowserTestBase
*
* @ingroup testing
@@ -141,8 +141,8 @@ public function __construct(string $name) {
*
* @var array
*
* @see \Drupal\Tests\KernelTestBase::enableModules()
* @see \Drupal\Tests\KernelTestBase::bootKernel()
* @see \Drupal\KernelTests\KernelTestBase::enableModules()
* @see \Drupal\KernelTests\KernelTestBase::bootKernel()
*/
protected static $modules = [];
@@ -485,7 +485,7 @@ protected function initFileCache() {
* @throws \PHPUnit\Framework\Exception
* If a module is not available.
*
* @see \Drupal\Tests\KernelTestBase::enableModules()
* @see \Drupal\KernelTests\KernelTestBase::enableModules()
* @see \Drupal\Core\Extension\ModuleHandler::add()
*/
private function getExtensionsForModules(array $modules): array {
@@ -511,7 +511,7 @@ private function getExtensionsForModules(array $modules): array {
* @param \Drupal\Core\DependencyInjection\ContainerBuilder $container
* The service container to enhance.
*
* @see \Drupal\Tests\KernelTestBase::bootKernel()
* @see \Drupal\KernelTests\KernelTestBase::bootKernel()
*/
public function register(ContainerBuilder $container) {
// Keep the container object around for tests.
Loading