diff options
Diffstat (limited to 'tests/unit/utility')
-rw-r--r-- | tests/unit/utility/FeedFetcherTest.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/unit/utility/FeedFetcherTest.php b/tests/unit/utility/FeedFetcherTest.php index af9de69e5..7bbf54371 100644 --- a/tests/unit/utility/FeedFetcherTest.php +++ b/tests/unit/utility/FeedFetcherTest.php @@ -101,7 +101,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $this->cacheDuration, $this->fetchTimeout, $this->purifier); - $this->url = 'tests'; + $this->url = 'http://tests'; $this->permalink = 'http://permalink'; $this->title = 'my title<'; @@ -242,7 +242,6 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $feed->setTitle(html_entity_decode($this->feedTitle)); $feed->setUrl($this->url); $feed->setLink($this->feedLink); - $feed->setUrlHash(md5($this->feedLink)); $feed->setAdded($this->time); if($hasWebFavicon) { @@ -287,7 +286,6 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $feed->setTitle($this->url); $feed->setUrl($this->url); $feed->setLink($this->feedLink); - $feed->setUrlHash(md5($this->feedLink)); $feed->setAdded($this->time); $feed->setFaviconLink(null); @@ -348,7 +346,6 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $feed->setTitle(html_entity_decode($this->feedTitle)); $feed->setUrl($this->url); $feed->setLink($this->feedLink); - $feed->setUrlHash(md5($this->feedLink)); $feed->setAdded($this->time); $feed->setFaviconLink($this->webFavicon); @@ -375,7 +372,6 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $feed->setTitle(html_entity_decode($this->feedTitle)); $feed->setUrl($this->url); $feed->setLink($this->feedLink); - $feed->setUrlHash(md5($this->feedLink)); $feed->setAdded($this->time); $this->core->expects($this->once()) |