Skip to content
Snippets Groups Projects
Commit 2810689c authored by Dave Reid's avatar Dave Reid
Browse files

Test cleanup.

parent 8c58a319
No related branches found
No related tags found
No related merge requests found
...@@ -18,9 +18,6 @@ class FeedsExamplesFeedTestCase extends FeedsWebTestCase { ...@@ -18,9 +18,6 @@ class FeedsExamplesFeedTestCase extends FeedsWebTestCase {
); );
} }
/**
* Enable feeds_news feature.
*/
public function setUp() { public function setUp() {
parent::setUp(array('features', 'views', 'feeds_news')); parent::setUp(array('features', 'views', 'feeds_news'));
} }
......
...@@ -18,21 +18,6 @@ class FeedsUIUserInterfaceTestCase extends FeedsWebTestCase { ...@@ -18,21 +18,6 @@ class FeedsUIUserInterfaceTestCase extends FeedsWebTestCase {
); );
} }
/**
* Set up test.
*/
public function setUp() {
parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler');
$this->drupalLogin(
$this->drupalCreateUser(
array(
'administer feeds', 'create article content', 'create page content',
)
)
);
}
/** /**
* UI functionality tests on * UI functionality tests on
* feeds_ui_overview(), * feeds_ui_overview(),
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
* @todo Could I use DrupalUnitTestCase here? * @todo Could I use DrupalUnitTestCase here?
*/ */
class CommonSyndicationParserTestCase extends DrupalWebTestCase { class CommonSyndicationParserTestCase extends DrupalWebTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => 'Common Syndication Parser', 'name' => 'Common Syndication Parser',
...@@ -16,11 +15,8 @@ class CommonSyndicationParserTestCase extends DrupalWebTestCase { ...@@ -16,11 +15,8 @@ class CommonSyndicationParserTestCase extends DrupalWebTestCase {
); );
} }
/**
* Set up.
*/
public function setUp() { public function setUp() {
parent::setUp('feeds', 'feeds_ui', 'ctools', 'job_scheduler'); parent::setUp(array('feeds', 'feeds_ui', 'ctools', 'job_scheduler'));
feeds_include_library('common_syndication_parser.inc', 'common_syndication_parser'); feeds_include_library('common_syndication_parser.inc', 'common_syndication_parser');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment