From 6ea419150b2042b3159da44302233934eb895b09 Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Sun, 7 Oct 2012 14:39:24 -0700 Subject: [PATCH] Make FeedsDateTimeTest a real unit test. --- tests/feeds_date_time.test | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/feeds_date_time.test b/tests/feeds_date_time.test index f742d86e..eac3d9f0 100644 --- a/tests/feeds_date_time.test +++ b/tests/feeds_date_time.test @@ -12,7 +12,7 @@ * Not inheriting from Feeds base class as ParserCSV should be moved out of * Feeds at some time. */ -class FeedsDateTimeTest extends FeedsWebTestCase { +class FeedsDateTimeTest extends FeedsUnitTestHelper { protected $profile = 'testing'; public static function getInfo() { @@ -23,6 +23,11 @@ class FeedsDateTimeTest extends FeedsWebTestCase { ); } + public function setUp() { + parent::setUp(); + module_load_include('inc', 'feeds' , 'plugins/FeedsParser'); + } + /** * Dispatch tests, only use one entry point method testX to save time. */ -- GitLab