コード例 #1
0
        public void TearDown()
        {
            Current.Reset();

            SettingsForTests.Reset();
        }
コード例 #2
0
        /// <summary>
        /// sets up resolvers before resolution is frozen
        /// </summary>
        protected override void Compose()
        {
            base.Compose();

            Composition.RegisterUnique <IShortStringHelper>(_ => new DefaultShortStringHelper(SettingsForTests.GetDefaultUmbracoSettings()));
        }
コード例 #3
0
        public void Init()
        {
            var config = SettingsForTests.GetDefault();

            SettingsForTests.ConfigureSettings(config);
        }