diff options
Diffstat (limited to 'tests/Unit/Http/TextDownloadResponseTest.php')
-rw-r--r-- | tests/Unit/Http/TextDownloadResponseTest.php | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/Unit/Http/TextDownloadResponseTest.php b/tests/Unit/Http/TextDownloadResponseTest.php deleted file mode 100644 index be5f53ec1..000000000 --- a/tests/Unit/Http/TextDownloadResponseTest.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php -/** - * Nextcloud - News - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Alessandro Cosentino <cosenal@gmail.com> - * @author Bernhard Posselt <dev@bernhard-posselt.com> - * @copyright 2012 Alessandro Cosentino - * @copyright 2012-2014 Bernhard Posselt - */ - - -namespace OCA\News\Tests\Unit\Http; - - -use OCA\News\Http\TextDownloadResponse; -use PHPUnit\Framework\TestCase; - -class TextDownloadResponseTest extends TestCase -{ - - - protected function setUp(): void - { - $this->response = new TextDownloadResponse( - 'sometext', 'file', 'content' - ); - } - - - public function testRender() - { - $this->assertEquals('sometext', $this->response->render()); - } - -}
\ No newline at end of file |