mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-05 18:43:40 +02:00
fix bootstrap
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
86759b0a9e
commit
90483d4443
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue