| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/enoikio/core/tests/fixtures/ |
Upload File : |
<?php
namespace Drupal\KernelTests;
/**
* 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 or phpunit.
*
* @requires module module_does_not_exist
* @group fixture
*/
class KernelMissingDependentModuleTest extends KernelTestBase {
/**
* Placeholder test method.
*
* Depending on configuration, PHPUnit might fail a test if it has no test
* methods, so we must provide one. This method should never be executed.
*/
public function testRequiresModule() {
$this->fail('Running test with missing required module.');
}
/**
* Public access for checkRequirements() to avoid reflection.
*/
public function publicCheckRequirements() {
return parent::checkRequirements();
}
}