diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-20 22:03:05 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-25 19:18:04 +0200 |
commit | 60ab4941cc7e6ede095e9e4aee3c2bf9a5c3bff6 (patch) | |
tree | baf0b07dd1c545efeb59437af46a99f4d9f69425 /tests/Unit/Utility/OPMLExporterTest.php | |
parent | 2c8b4fa019749113658b9ed8cae211b679e4cbc0 (diff) |
Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Utility/OPMLExporterTest.php')
-rw-r--r-- | tests/Unit/Utility/OPMLExporterTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Unit/Utility/OPMLExporterTest.php b/tests/Unit/Utility/OPMLExporterTest.php index 80cbaf950..8c7c3c923 100644 --- a/tests/Unit/Utility/OPMLExporterTest.php +++ b/tests/Unit/Utility/OPMLExporterTest.php @@ -32,7 +32,7 @@ class OPMLExporterTest extends TestCase /** @var Folder */ private $folder2; - protected function setUp() + protected function setUp(): void { $this->exporter = new OPMLExporter(); $this->folder1 = new Folder(); @@ -55,7 +55,7 @@ class OPMLExporterTest extends TestCase } - private function getAttribute($item, $name) + private function getAttribute($item, $name) { // used to fix scrutinizer errors if ($item instanceof \DOMElement) { @@ -75,7 +75,7 @@ class OPMLExporterTest extends TestCase } - public function testBuildReturnsFolders() + public function testBuildReturnsFolders() { $result = $this->exporter->build([$this->folder1, $this->folder2], []); $xpath = new \DOMXpath($result); @@ -101,7 +101,7 @@ class OPMLExporterTest extends TestCase } - public function testBuildReturnsOnlyOneFeedIfParentFolderNotThere() + public function testBuildReturnsOnlyOneFeedIfParentFolderNotThere() { $result = $this->exporter->build([], [$this->feed1, $this->feed2]); $xpath = new \DOMXpath($result); @@ -127,7 +127,7 @@ class OPMLExporterTest extends TestCase } - public function testBuildReturnsFeedsAndFolders() + public function testBuildReturnsFeedsAndFolders() { $result = $this->exporter->build( [$this->folder1, $this->folder2], |