Unverified Commit 3cab415d authored by Dave Reid's avatar Dave Reid
Browse files

Follow-up #2987939: Fixed @covers errors while running DirectoryTest.

parent c392f9a1
......@@ -12,8 +12,12 @@ class DirectoryTest extends KernelTestBase {
* {@inheritdoc}
protected function setUp() {
public static function 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';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment