dbSQLite3File = ":memory:"; $conf->userAuthPreferHTTP = true; Data::load($conf); Data::$db->schemaUpdate(); Data::$user->add($user, $pass); Data::$user->auth(); Data::$user->authorizationEnabled(false); Data::$user->rightsSet($user, User\Driver::RIGHTS_GLOBAL_ADMIN); Data::$user->authorizationEnabled(true); Data::$db->folderAdd($user, ['name' => 'ook']); Data::$db->subscriptionAdd($user, "http://www.pcgamer.com/rss/");