diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-24 17:23:59 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-01-24 17:23:59 +0100 |
commit | c3424df1f026854ed8adbfdf8d96da7a6562a8dd (patch) | |
tree | 3147bb402fe417804aac8c278e43d60a5d806f85 /apps | |
parent | 5520ba3d15b088e9151ffef89f7cd389c470563b (diff) | |
download | nextcloud-server-c3424df1f026854ed8adbfdf8d96da7a6562a8dd.tar.gz nextcloud-server-c3424df1f026854ed8adbfdf8d96da7a6562a8dd.zip |
Require PHPUnit 6.5 or higher
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php | 3 | ||||
-rw-r--r-- | apps/dav/tests/unit/bootstrap.php | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php b/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php index b2ba8ba119a..36aa4fa449b 100644 --- a/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php +++ b/apps/dav/tests/unit/CalDAV/Publishing/PublisherTest.php @@ -25,8 +25,9 @@ namespace OCA\DAV\Tests\unit\CalDAV\Publishing; use OCA\DAV\CalDAV\Publishing\Xml\Publisher; use Sabre\Xml\Writer; +use Test\TestCase; -class PublisherTest extends \PHPUnit_Framework_TestCase { +class PublisherTest extends TestCase { const NS_CALENDARSERVER = 'http://calendarserver.org/ns/'; diff --git a/apps/dav/tests/unit/bootstrap.php b/apps/dav/tests/unit/bootstrap.php index 178bc695b6a..a2ad505342b 100644 --- a/apps/dav/tests/unit/bootstrap.php +++ b/apps/dav/tests/unit/bootstrap.php @@ -26,10 +26,6 @@ if (!defined('PHPUNIT_RUN')) { require_once __DIR__.'/../../../../lib/base.php'; -if(!class_exists('PHPUnit_Framework_TestCase')) { - require_once('PHPUnit/Autoload.php'); -} - \OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true); \OC_App::loadApp('dav'); |