diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-22 01:35:59 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-22 01:35:59 +0200 |
commit | 78d3e2164116f299effb11d25b1971e6d375366e (patch) | |
tree | d7a875f96833946b82f001ebdba1c23b19d32b17 /tests/unit/utility/SimplePieAPIFactoryTest.php | |
parent | fb28fadcf6e71b4b797aa4241436ec3add543ba0 (diff) |
get rid of simplepie
Diffstat (limited to 'tests/unit/utility/SimplePieAPIFactoryTest.php')
-rw-r--r-- | tests/unit/utility/SimplePieAPIFactoryTest.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/tests/unit/utility/SimplePieAPIFactoryTest.php b/tests/unit/utility/SimplePieAPIFactoryTest.php deleted file mode 100644 index 4f401a72e..000000000 --- a/tests/unit/utility/SimplePieAPIFactoryTest.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/** - * ownCloud - News - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Alessandro Cosentino <cosenal@gmail.com> - * @author Bernhard Posselt <dev@bernhard-posselt.com> - * @copyright Alessandro Cosentino 2012 - * @copyright Bernhard Posselt 2012, 2014 - */ - -namespace OCA\News\Utility; - - -class SimplePieAPIFactoryTest extends \PHPUnit_Framework_TestCase { - - - public function testGetFile() { - $factory = new SimplePieAPIFactory(); - $file = $factory->getFile('php://input', 10, 5, $headers='headers', - $useragent='flashce', $force_fsockopen=true); - $this->assertTrue($file instanceof \SimplePie_File); - } - - - public function testGetCore() { - $factory = new SimplePieAPIFactory(); - $this->assertTrue($factory->getCore() instanceof \SimplePie); - } - - -}
\ No newline at end of file |