fix bootstrap

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Björn Schiessle 2018-11-22 15:44:44 +01:00
parent 86759b0a9e
commit 90483d4443
No known key found for this signature in database
GPG key ID: 2378A753E2BF04F6

View file

@ -25,7 +25,7 @@ if (!defined('PHPUNIT_RUN')) {
require_once __DIR__.'/../../../../lib/base.php';
\OC::$loader->addValidRoot(\OC::$SERVERROOT . '/tests');
\OC_App::loadApp('user_saml');
if(!class_exists('PHPUnit_Framework_TestCase')) {
if(!class_exists('\PHPUnit\Framework\TestCase')) {
require_once('PHPUnit/Autoload.php');
}
OC_Hook::clear();