Skip to content
Snippets Groups Projects
Commit dc234385 authored by Alex Barth's avatar Alex Barth
Browse files

#866492 lyricnz: Clean up tests.

parent 43149ef2
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX
-------------------------------- --------------------------------
- #866492 lyricnz: Clean up tests.
- #862444 pounard: Do not name files after their enclosure class. - #862444 pounard: Do not name files after their enclosure class.
- #851570 morningtime: Avoid trailing slashes when passing file paths to - #851570 morningtime: Avoid trailing slashes when passing file paths to
file_check_directory(). file_check_directory().
......
...@@ -15,7 +15,7 @@ class FeedsMapperFileFieldTestCase extends FeedsMapperTestCase { ...@@ -15,7 +15,7 @@ class FeedsMapperFileFieldTestCase extends FeedsMapperTestCase {
public static function getInfo() { public static function getInfo() {
return array( return array(
'name' => t('Mapper: FileField'), 'name' => t('Mapper: FileField'),
'description' => t('Test Feeds Mapper support for FileField CCK fields. <strong>Requires CCK and filefield module</strong>.'), 'description' => t('Test Feeds Mapper support for FileField CCK fields. <strong>Requires CCK and filefield module; requires SimplePie library</strong>.'),
'group' => t('Feeds'), 'group' => t('Feeds'),
); );
} }
......
...@@ -22,7 +22,7 @@ class FeedsMapperLinkTestCase extends FeedsMapperTestCase { ...@@ -22,7 +22,7 @@ class FeedsMapperLinkTestCase extends FeedsMapperTestCase {
public function setUp() { public function setUp() {
// Call parent setup with the required module // Call parent setup with the required module
parent::setUp( parent::setUp(
'devel', 'feeds', 'feeds_ui', 'ctools', 'content', 'link' 'feeds', 'feeds_ui', 'ctools', 'content', 'link'
); );
// Create user and login // Create user and login
...@@ -32,7 +32,6 @@ class FeedsMapperLinkTestCase extends FeedsMapperTestCase { ...@@ -32,7 +32,6 @@ class FeedsMapperLinkTestCase extends FeedsMapperTestCase {
'administer feeds', 'administer feeds',
'administer nodes', 'administer nodes',
'administer site configuration', 'administer site configuration',
'access devel information'
) )
)); ));
} }
......
...@@ -28,6 +28,7 @@ class FeedsParserCSVTest extends DrupalWebTestCase { ...@@ -28,6 +28,7 @@ class FeedsParserCSVTest extends DrupalWebTestCase {
* Test method. * Test method.
*/ */
public function test() { public function test() {
drupal_load('module', 'feeds');
feeds_include_library('ParserCSV.inc', 'ParserCSV'); feeds_include_library('ParserCSV.inc', 'ParserCSV');
$this->_testSimple(); $this->_testSimple();
......
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