| Server IP : 3.147.158.171 / Your IP : 216.73.216.216 Web Server : Apache/2.4.67 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-2-178.us-east-2.compute.internal 6.1.172-216.329.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 20 06:31:34 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /tsai/repo/drupal/web/core/tests/fixtures/ |
Upload File : |
<?php
namespace Drupal\KernelTests;
@trigger_error('\\Drupal\\FunctionalTests\\KernelMissingDependentModuleMethodTest is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3418480', E_USER_DEPRECATED);
/**
* A fixture test class with requires annotation.
*
* This is a fixture class for
* \Drupal\KernelTests\KernelTestBaseTest::testRequiresModule().
*
* This test class should not be discovered by run-tests.sh, phpstan or phpunit.
*
* @group fixture
*
* @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no
* replacement.
*
* @see https://www.drupal.org/node/3418480
*/
class KernelMissingDependentModuleMethodTest extends KernelTestBase {
/**
* This method should be skipped since it requires a module that is not found.
*
* @requires module module_does_not_exist
*/
public function testRequiresModule(): void {
$this->fail('Running test with missing required module.');
}
/**
* Public access for checkRequirements() to avoid reflection.
*/
public function publicCheckRequirements() {
return parent::checkRequirements();
}
}