public void TearDown() { Current.Reset(); SettingsForTests.Reset(); }
/// <summary> /// sets up resolvers before resolution is frozen /// </summary> protected override void Compose() { base.Compose(); Composition.RegisterUnique <IShortStringHelper>(_ => new DefaultShortStringHelper(SettingsForTests.GetDefaultUmbracoSettings())); }
public void Init() { var config = SettingsForTests.GetDefault(); SettingsForTests.ConfigureSettings(config); }