aboutsummaryrefslogtreecommitdiff
path: root/tests/MrssFormatTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MrssFormatTest.php')
-rw-r--r--tests/MrssFormatTest.php19
1 files changed, 1 insertions, 18 deletions
diff --git a/tests/MrssFormatTest.php b/tests/MrssFormatTest.php
index 5ece3904..ed7dc3a3 100644
--- a/tests/MrssFormatTest.php
+++ b/tests/MrssFormatTest.php
@@ -18,21 +18,6 @@ class MrssFormatTest extends TestCase {
/**
* @dataProvider sampleProvider
* @runInSeparateProcess
- * @requires function xdebug_get_headers
- */
- public function testHeaders($path) {
- $this->setSample($path);
- $this->initFormat();
-
- $this->assertContains(
- 'Content-Type: application/rss+xml; charset=' . $this->format->getCharset(),
- xdebug_get_headers()
- );
- }
-
- /**
- * @dataProvider sampleProvider
- * @runInSeparateProcess
*/
public function testOutput($path) {
$this->setSample($path);
@@ -82,9 +67,7 @@ class MrssFormatTest 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();
}
}