Skip to content

Commit

Permalink
Zend\Service\SlideShare UTs updated to work with namespaces.
Browse files Browse the repository at this point in the history
All UTs are passing - TestConfiguratio.php needs to be updated before
SlideShare tests are used.
  • Loading branch information
farazdagi authored and weierophinney committed Jun 8, 2010
1 parent e0b7da5 commit 7f0e223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Zend/Service/SlideShare/SlideShareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function _getSSObject()
TESTS_ZEND_SERVICE_SLIDESHARE_SLIDESHOWID);

$cache = Cache::factory('Core', 'File', array('lifetime' => 0, 'automatic_serialization' => true),
array('cache_dir' => dirname(__FILE__)."/SlideShare/_files"));
array('cache_dir' => dirname(__FILE__)."/_files"));
$ss->setCacheObject($cache);
return $ss;
}
Expand Down Expand Up @@ -166,7 +166,7 @@ public function testUploadSlideShow()
$ss = $this->_getSSObject();

$title = "Unit Test for ZF SlideShare Component";
$ppt_file = dirname(__FILE__)."/SlideShare/_files/demo.ppt";
$ppt_file = dirname(__FILE__)."/_files/demo.ppt";

$show = new SlideShare\SlideShow();
$show->setFilename($ppt_file);
Expand Down

0 comments on commit 7f0e223

Please sign in to comment.