diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2016-08-04 17:21:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-04 17:21:04 +0300 |
commit | 212d32326349f6fc40b235ea0c3bdd741b282451 (patch) | |
tree | 7b3ca57156063ccbbdbbfc5189d30409791cee27 /tests/bootstrap.php | |
parent | ac21a8cd95b7ec084ff00013a5ce54c2e8640c01 (diff) | |
parent | a6ef6387f0569cc82954ed1b33f7014982c6341a (diff) |
Merge pull request #1573 from owncloud/increase-minimum-core-version
increase min core version to 9.0 and remove all version hacks
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r-- | tests/bootstrap.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index eb3d86ed9..120b7fa15 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -25,10 +25,8 @@ define('PHPUNIT_RUN', 1); require_once __DIR__.'/../../../lib/base.php'; require_once __DIR__.'/../vendor/autoload.php'; -if (version_compare(implode('.', \OCP\Util::getVersion()), '8.2', '>=')) { - \OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); - \OC_App::loadApp('mail'); -} +\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); +\OC_App::loadApp('mail'); if(!class_exists('PHPUnit_Framework_TestCase')) { require_once('PHPUnit/Autoload.php'); |