diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-08 14:33:20 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-08 14:33:20 +0200 |
commit | c20923f5ea9f500a41de2b3722f4b44fe3a45690 (patch) | |
tree | a3c9e62e1ce8130dfe190d2c35315eefc2671c61 /tests | |
parent | 1fccfbbf261a704cb1890e7f2afdb4e4ae29cadd (diff) |
more cleanup
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/articleenhancer/XPathArticleEnhancerTest.php | 5 | ||||
-rw-r--r-- | tests/unit/utility/FaviconFetcherTest.php | 6 |
2 files changed, 2 insertions, 9 deletions
diff --git a/tests/unit/articleenhancer/XPathArticleEnhancerTest.php b/tests/unit/articleenhancer/XPathArticleEnhancerTest.php index e7b3d19dd..8a99e9d5a 100644 --- a/tests/unit/articleenhancer/XPathArticleEnhancerTest.php +++ b/tests/unit/articleenhancer/XPathArticleEnhancerTest.php @@ -84,10 +84,7 @@ class XPathArticleEnhancerTest extends \PHPUnit_Framework_TestCase { $this->equalTo($this->redirects), $this->equalTo($this->headers), $this->equalTo($this->userAgent), - $this->equalTo(false), - $this->equalTo(null), - $this->equalTo(null), - $this->equalTo(null)) + $this->equalTo(false)) ->will($this->returnValue($file)); $result = $this->testEnhancer->enhance($item); diff --git a/tests/unit/utility/FaviconFetcherTest.php b/tests/unit/utility/FaviconFetcherTest.php index a9c1416dc..3ed0d4dc8 100644 --- a/tests/unit/utility/FaviconFetcherTest.php +++ b/tests/unit/utility/FaviconFetcherTest.php @@ -89,11 +89,7 @@ class FaviconFetcherTest extends \PHPUnit_Framework_TestCase { $this->equalTo(10), $this->equalTo(5), $this->equalTo(null), - $this->equalTo(null), - $this->equalTo(false), - $this->equalTo(null), - $this->equalTo(null), - $this->equalTo(null)) + $this->equalTo('Mozilla/5.0 AppleWebKit')) ->will($this->returnValue($pngMock)); $favicon = $this->fetcher->fetch($url); |