Verified Commit 2f09ecf6 authored by Dave Long's avatar Dave Long
Browse files

Issue #3502427 by alexpott, smustgrave: Fix references to Drupal\Tests\KernelTestBase

(cherry picked from commit 9fab2393)
parent dc21e654
Loading
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -83,11 +83,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
@@ -166,8 +166,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 = [];

@@ -511,7 +511,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 {
@@ -537,7 +537,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.