From dc2343851d7491cbf7b42579d728cb1117fec517 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Tue, 27 Jul 2010 20:09:41 +0000 Subject: [PATCH] #866492 lyricnz: Clean up tests. --- CHANGELOG.txt | 1 + tests/feeds_mapper_filefield.test | 2 +- tests/feeds_mapper_link.test | 3 +-- tests/feeds_parser_csv.test | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7be2b1b1..067e1a2e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,7 @@ Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX -------------------------------- +- #866492 lyricnz: Clean up tests. - #862444 pounard: Do not name files after their enclosure class. - #851570 morningtime: Avoid trailing slashes when passing file paths to file_check_directory(). diff --git a/tests/feeds_mapper_filefield.test b/tests/feeds_mapper_filefield.test index 75e04229..c8e0599c 100644 --- a/tests/feeds_mapper_filefield.test +++ b/tests/feeds_mapper_filefield.test @@ -15,7 +15,7 @@ class FeedsMapperFileFieldTestCase extends FeedsMapperTestCase { public static function getInfo() { return array( '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'), ); } diff --git a/tests/feeds_mapper_link.test b/tests/feeds_mapper_link.test index 6155f393..4e5ff086 100644 --- a/tests/feeds_mapper_link.test +++ b/tests/feeds_mapper_link.test @@ -22,7 +22,7 @@ class FeedsMapperLinkTestCase extends FeedsMapperTestCase { public function setUp() { // Call parent setup with the required module parent::setUp( - 'devel', 'feeds', 'feeds_ui', 'ctools', 'content', 'link' + 'feeds', 'feeds_ui', 'ctools', 'content', 'link' ); // Create user and login @@ -32,7 +32,6 @@ class FeedsMapperLinkTestCase extends FeedsMapperTestCase { 'administer feeds', 'administer nodes', 'administer site configuration', - 'access devel information' ) )); } diff --git a/tests/feeds_parser_csv.test b/tests/feeds_parser_csv.test index a62f4710..7dd9619b 100644 --- a/tests/feeds_parser_csv.test +++ b/tests/feeds_parser_csv.test @@ -28,6 +28,7 @@ class FeedsParserCSVTest extends DrupalWebTestCase { * Test method. */ public function test() { + drupal_load('module', 'feeds'); feeds_include_library('ParserCSV.inc', 'ParserCSV'); $this->_testSimple(); -- GitLab