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

merge-requests/11024/head
Dave Long 2025-01-27 23:28:36 +00:00
parent 2ab20b5a84
commit 9fab23933d
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
1 changed files with 9 additions and 9 deletions

View File

@ -84,11 +84,11 @@ use Symfony\Component\VarDumper\VarDumper;
* 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 @@ abstract class KernelTestBase extends TestCase implements ServiceProviderInterfa
*
* @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 @@ abstract class KernelTestBase extends TestCase implements ServiceProviderInterfa
* @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 @@ abstract class KernelTestBase extends TestCase implements ServiceProviderInterfa
* @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.