diff options
Diffstat (limited to 'tests/Formats/AtomFormatTest.php')
-rw-r--r-- | tests/Formats/AtomFormatTest.php | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/tests/Formats/AtomFormatTest.php b/tests/Formats/AtomFormatTest.php index a871ea86..77bb9cbc 100644 --- a/tests/Formats/AtomFormatTest.php +++ b/tests/Formats/AtomFormatTest.php @@ -1,4 +1,5 @@ <?php + /** * AtomFormat - RFC 4287: The Atom Syndication Format * https://tools.ietf.org/html/rfc4287 @@ -10,18 +11,20 @@ require_once __DIR__ . '/BaseFormatTest.php'; use PHPUnit\Framework\TestCase; -class AtomFormatTest extends BaseFormatTest { - private const PATH_EXPECTED = self::PATH_SAMPLES . 'expectedAtomFormat/'; +class AtomFormatTest extends BaseFormatTest +{ + private const PATH_EXPECTED = self::PATH_SAMPLES . 'expectedAtomFormat/'; - /** - * @dataProvider sampleProvider - * @runInSeparateProcess - */ - public function testOutput(string $name, string $path) { - $data = $this->formatData('Atom', $this->loadSample($path)); - $this->assertNotFalse(simplexml_load_string($data)); + /** + * @dataProvider sampleProvider + * @runInSeparateProcess + */ + public function testOutput(string $name, string $path) + { + $data = $this->formatData('Atom', $this->loadSample($path)); + $this->assertNotFalse(simplexml_load_string($data)); - $expected = self::PATH_EXPECTED . $name . '.xml'; - $this->assertXmlStringEqualsXmlFile($expected, $data); - } + $expected = self::PATH_EXPECTED . $name . '.xml'; + $this->assertXmlStringEqualsXmlFile($expected, $data); + } } |