public static void Reset() { UmbracoSettings.Reset(); GlobalSettings.Reset(); foreach (var kvp in SavedAppSettings) { ConfigurationManager.AppSettings.Set(kvp.Key, kvp.Value); } // set some defaults that are wrong in the config file?! // this is annoying, really HideTopLevelNodeFromPath = false; }
public void TearDown() { UmbracoSettings.Reset(); }