Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
xmlsitemap
Commits
3cab415d
Unverified
Commit
3cab415d
authored
Oct 11, 2018
by
Dave Reid
Browse files
Follow-up
#2987939
: Fixed @covers errors while running DirectoryTest.
parent
c392f9a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/src/Kernel/DirectoryTest.php
View file @
3cab415d
...
...
@@ -12,8 +12,12 @@ class DirectoryTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected
function
setUp
()
{
parent
::
setUp
();
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'
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment