protected PasswordHasherTestsBase()
        {
            appHost = CreateAppHost();

            origNewUser = appHost.GetAuthRepository().GetUserAuthByUserName("newUser");
            origOldUser = appHost.GetAuthRepository().GetUserAuthByUserName("oldUser");
        }
Esempio n. 2
0
        public void SetUp()
        {
            var authRepo = appHost.GetAuthRepository();

            using (authRepo as IDisposable)
            {
                ((IClearable)authRepo).Clear();
            }
        }