diff options
author | Sean Molenaar <sean@m2mobi.com> | 2018-10-01 10:07:57 +0200 |
---|---|---|
committer | Sean Molenaar <sean@m2mobi.com> | 2018-10-02 14:33:09 +0200 |
commit | fa5f07ba9a77959796c3c7a4851f2f2fe1051afa (patch) | |
tree | c0eedead6788614b886940f892f23c6537368a19 /tests/Unit/Http | |
parent | c36b0a95685cb0daa3fce9d743b7610a5cfe50ed (diff) |
Put back old tests for stable nextcloud version
Diffstat (limited to 'tests/Unit/Http')
-rw-r--r-- | tests/Unit/Http/TextDownloadResponseTest.php | 3 | ||||
-rw-r--r-- | tests/Unit/Http/TextResponseTest.php | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/Unit/Http/TextDownloadResponseTest.php b/tests/Unit/Http/TextDownloadResponseTest.php index 96fa74ffc..4021d22aa 100644 --- a/tests/Unit/Http/TextDownloadResponseTest.php +++ b/tests/Unit/Http/TextDownloadResponseTest.php @@ -16,8 +16,9 @@ namespace OCA\News\Tests\Unit\Http; use OCA\News\Http\TextDownloadResponse; +use PHPUnit\Framework\TestCase; -class TextDownloadResponseTest extends \PHPUnit_Framework_TestCase +class TextDownloadResponseTest extends TestCase { diff --git a/tests/Unit/Http/TextResponseTest.php b/tests/Unit/Http/TextResponseTest.php index cd7738de5..5de374a17 100644 --- a/tests/Unit/Http/TextResponseTest.php +++ b/tests/Unit/Http/TextResponseTest.php @@ -14,10 +14,10 @@ namespace OCA\News\Tests\Unit\Http; - +use PHPUnit\Framework\TestCase; use OCA\News\Http\TextResponse; -class TextResponseTest extends \PHPUnit_Framework_TestCase +class TextResponseTest extends TestCase { |