diff options
Diffstat (limited to 'tests/AtomFormatTest.php')
-rw-r--r-- | tests/AtomFormatTest.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/AtomFormatTest.php b/tests/AtomFormatTest.php index 818b82eb..91d6c1d8 100644 --- a/tests/AtomFormatTest.php +++ b/tests/AtomFormatTest.php @@ -3,7 +3,6 @@ * AtomFormat - RFC 4287: The Atom Syndication Format * https://tools.ietf.org/html/rfc4287 */ -require_once __DIR__ . '/../lib/rssbridge.php'; use PHPUnit\Framework\TestCase; @@ -41,8 +40,6 @@ class AtomFormatTest extends TestCase { $this->assertXmlStringEqualsXmlFile($this->sample->expected, $this->data); } - //////////////////////////////////////////////////////////////////////////// - public function sampleProvider() { $samples = array(); foreach (glob(self::PATH_SAMPLES . '*.json') as $path) { @@ -84,7 +81,8 @@ class AtomFormatTest extends TestCase { $this->format->setExtraInfos($this->sample->meta); $this->format->setLastModified(strtotime('2000-01-01 12:00:00 UTC')); - $this->data = $this->getActualOutput($this->format->display()); + $_ = $this->format->display(); + $this->data = $this->getActualOutput(); $this->assertNotFalse(simplexml_load_string($this->data)); ob_clean(); } |