public AccountRelatedPageSpecs(TestDiscussionWebApp app)
 {
     _app = app.Reset();
     _antiForgeryTokens = _app.GetAntiForgeryTokens();
     _userRepo          = _app.GetService <IRepository <User> >();
     _userManager       = _app.GetService <UserManager <User> >();
 }
Esempio n. 2
0
 public AccountRelatedPageSpecs(TestDiscussionWebApp app)
 {
     _app = app.Reset();
     _antiForgeryTokens = _app.GetAntiForgeryTokens();
 }
 public AccountRelatedPageSpecs(TestApplication theApp)
 {
     _theApp            = theApp.Reset();
     _antiForgeryTokens = _theApp.GetAntiForgeryTokens();
 }