diff options
Diffstat (limited to 'tests/AtomFormatTest.php')
-rw-r--r-- | tests/AtomFormatTest.php | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/tests/AtomFormatTest.php b/tests/AtomFormatTest.php index 91d6c1d8..1d692c40 100644 --- a/tests/AtomFormatTest.php +++ b/tests/AtomFormatTest.php @@ -17,21 +17,6 @@ class AtomFormatTest extends TestCase { /** * @dataProvider sampleProvider * @runInSeparateProcess - * @requires function xdebug_get_headers - */ - public function testHeaders($path) { - $this->setSample($path); - $this->initFormat(); - - $this->assertContains( - 'Content-Type: application/atom+xml; charset=' . $this->format->getCharset(), - xdebug_get_headers() - ); - } - - /** - * @dataProvider sampleProvider - * @runInSeparateProcess */ public function testOutput($path) { $this->setSample($path); @@ -81,9 +66,7 @@ class AtomFormatTest extends TestCase { $this->format->setExtraInfos($this->sample->meta); $this->format->setLastModified(strtotime('2000-01-01 12:00:00 UTC')); - $_ = $this->format->display(); - $this->data = $this->getActualOutput(); + $this->data = $this->format->stringify(); $this->assertNotFalse(simplexml_load_string($this->data)); - ob_clean(); } } |