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
1 merge request!11093Drupal on MongoDB 11.1.x
Pipeline #408121 canceled
......@@ -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