Commit 50d8c17c authored by Dave Reid's avatar Dave Reid

#800382 by kiam, Dave Reid: Removed redundant module setUp parameters.

parent f9b54585
......@@ -17,7 +17,7 @@ class XMLSitemapTestHelper extends DrupalWebTestCase {
function setUp() {
// Call parent::setUp() allowing test cases to pass further modules.
$modules = func_get_args();
$modules[] = 'xmlsitemap';
array_unshift($modules, 'xmlsitemap');
call_user_func_array(array($this, 'parent::setUp'), $modules);
}
......@@ -336,10 +336,6 @@ class XMLSitemapUnitTest extends XMLSitemapTestHelper {
);
}
function setUp() {
parent::setUp('xmlsitemap');
}
function testAssertFlag() {
variable_set('xmlsitemap_rebuild_needed', TRUE);
$this->assertTrue(xmlsitemap_var('rebuild_needed'));
......
Markdown is supported
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