Ejemplo n.º 1
0
 public static function setUpBeforeClass()
 {
     self::$_user = SugarTestUserUtilities::createAnonymousUser();
     self::$_user->status = 'Active';
     self::$_user->is_admin = 1;
     self::$_user->save();
     $GLOBALS['db']->commit();
     $GLOBALS['current_user'] = self::$_user;
 }