diff options
Diffstat (limited to 'tests/unit/utility/SimplePieAPIFactoryTest.php')
-rw-r--r-- | tests/unit/utility/SimplePieAPIFactoryTest.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/unit/utility/SimplePieAPIFactoryTest.php b/tests/unit/utility/SimplePieAPIFactoryTest.php index a7e7472a0..4f401a72e 100644 --- a/tests/unit/utility/SimplePieAPIFactoryTest.php +++ b/tests/unit/utility/SimplePieAPIFactoryTest.php @@ -17,18 +17,18 @@ 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); - } + 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 |