public static function KernelTestBase::setUpBeforeClass in XML sitemap 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/KernelTestBase.php \Drupal\Tests\xmlsitemap\Kernel\KernelTestBase::setUpBeforeClass()
Overrides KernelTestBase::setUpBeforeClass
File
- tests/
src/ Kernel/ KernelTestBase.php, line 23
Class
- KernelTestBase
- Base class for xmlsitemap kernel tests.
Namespace
Drupal\Tests\xmlsitemap\KernelCode
public static function setUpBeforeClass() {
parent::setUpBeforeClass();
// This is required to not fail the @covers for global functions.
// @todo Once xmlsitemap_clear_directory() is refactored to auto-loadable code, remove this require statement.
require_once __DIR__ . '/../../../xmlsitemap.module';
}