Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
9 merge requests!11515Issue #3480419 by mondrake, smustgrave, catch: Method...,!11380Issue #3490698 by catch, spokje: Bump MINIMUM_STABILITY back to 'stable' when...,!11281Use Drupal Core Leadership terminology in MAINTAINERS.txt,!11239Issue #3507548: Allow workspace changes listing to show all items, without a pager,!11238Fix issue #3051797,!11213Issue #3506743 by tomislav.matokovic: Increasing the color contrast for the navigation block title against the background of the navigation sidebar to at least 4.5:1,!11147Draft: Try to avoid manually setting required cache contexts,!11108Issue #3490298 by nicxvan: Profiles can be missed in OOP hooks,!11093Drupal on MongoDB 11.1.x
Pipeline #408121 canceled
Pipeline: drupal

#408123

    ......@@ -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.
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment