@@ -15,24 +15,24 @@ |
||
15 | 15 | |
16 | 16 | class CRSSFeedTest extends \PHPUnit_Framework_TestCase { |
17 | 17 | |
18 | - private $feed; |
|
18 | + private $feed; |
|
19 | 19 | |
20 | - /*public function setUp(){ |
|
20 | + /*public function setUp(){ |
|
21 | 21 | $this->feed = new \Miax\RSSFeed\CRSSFeed(['http://feeds.feedburner.com/idg/vzzs']); |
22 | 22 | $test = get_items($this->feed); |
23 | 23 | $exp = "\Miax\RSSFeed\CRSSFeed"; |
24 | 24 | $this->assertEquals($test, $exp, "Wrong items"); |
25 | 25 | }*/ |
26 | 26 | |
27 | - /** |
|
27 | + /** |
|
28 | 28 | * Test |
29 | 29 | * |
30 | 30 | * @return void |
31 | 31 | * |
32 | 32 | */ |
33 | - public function testGetFeed() { |
|
33 | + public function testGetFeed() { |
|
34 | 34 | $this->feed = new \Miax\RSSFeed\CRSSFeed(['http://feeds.feedburner.com/idg/vzzs']); |
35 | - $content = $this->feed->getFeed(); |
|
36 | - $this->assertInternalType('string', $content, "Return type is not a string"); |
|
37 | - } |
|
35 | + $content = $this->feed->getFeed(); |
|
36 | + $this->assertInternalType('string', $content, "Return type is not a string"); |
|
37 | + } |
|
38 | 38 | } |
39 | 39 | \ No newline at end of file |
@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -include __DIR__ . "/../autoloader.php"; |
|
3 | +include __DIR__."/../autoloader.php"; |