diff options
-rw-r--r-- | tests/unit/db/postgres/ItemMapperTest.php | 9 | ||||
-rw-r--r-- | tests/unit/utility/FaviconFetcherTest.php | 6 |
2 files changed, 0 insertions, 15 deletions
diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php index 8677d8784..719721fa4 100644 --- a/tests/unit/db/postgres/ItemMapperTest.php +++ b/tests/unit/db/postgres/ItemMapperTest.php @@ -85,15 +85,6 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { 'ORDER BY `items`.`id` DESC'; } - private function makeSelectQueryStatus($prependTo, $status) { - $status = (int) $status; - - return $this->makeSelectQuery( - 'AND ((`items`.`status` & ' . $status . ') = ' . $status . ') ' . - $prependTo - ); - } - public function testDeleteReadOlderThanThresholdDoesNotDeleteBelowThreshold(){ $status = StatusFlag::STARRED | StatusFlag::UNREAD; diff --git a/tests/unit/utility/FaviconFetcherTest.php b/tests/unit/utility/FaviconFetcherTest.php index 833154639..68a816ea6 100644 --- a/tests/unit/utility/FaviconFetcherTest.php +++ b/tests/unit/utility/FaviconFetcherTest.php @@ -239,8 +239,6 @@ class FaviconFetcherTest extends \PHPUnit_Framework_TestCase { public function testEmptyFilePathDoesNotOpenFile() { $faviconPath = "owncloud/core/img/favicon.png"; - $html = $this->getFaviconHTML($faviconPath); - $url = ''; $this->fileFactory->expects($this->never()) @@ -251,8 +249,6 @@ class FaviconFetcherTest extends \PHPUnit_Framework_TestCase { public function testInvalidHostnameDoesNotOpenFile() { $faviconPath = "owncloud/core/img/favicon.png"; - $html = $this->getFaviconHTML($faviconPath); - $url = "a.b_c.de"; $this->fileFactory->expects($this->never()) @@ -264,8 +260,6 @@ class FaviconFetcherTest extends \PHPUnit_Framework_TestCase { public function testInvalidHostnameDoesNotOpenFileHttp() { $faviconPath = "owncloud/core/img/favicon.png"; - $html = $this->getFaviconHTML($faviconPath); - $url = "http://a.b_c.de"; $this->fileFactory->expects($this->never()) |