protected function setUp()
 {
     $userRcEntries = array(array('mail_user' => 'user', 'mail_password' => 'password'));
     OC_RoundCube_App::$RC_USER_ENTRIES = $userRcEntries;
     OC_RoundCube_App::$DB_USER = '******';
     OC_RoundCube_App::$LOGIN_USER = '******';
 }
Example #2
0
 protected function setUp()
 {
     $testUser = '******';
     OCP\User::$LOGGEDIN = true;
     OCP\User::$USER = $testUser;
     OC_RoundCube_App::$DB_USER = $testUser;
     OC_RoundCube_App::$LOGIN_USER = $testUser;
 }