public AccountControllerSpecs(TestDiscussionAdminApp adminApp) { _adminApp = adminApp; _adminUserRepo = adminApp.GetService <IRepository <AdminUser> >(); _adminApp.Reset(); _adminApp.DeleteAll <AdminUser>(); }
public AccountApiSpecs(TestDiscussionAdminApp app) { _app = app; }
public TopicManagementControllerSpecs(TestDiscussionAdminApp adminApp) { _adminApp = adminApp; _adminApp.DeleteAll <Topic>(); }
public HomePageSpecs(TestDiscussionAdminApp app) { _app = app; }
public HomeControllerSpecs(TestDiscussionAdminApp app) { _app = app; }
public TopicApiSpecs(TestDiscussionAdminApp app) { _app = app.Reset(); }
public PagedItemsSpecs(TestDiscussionAdminApp adminApp) { _adminApp = adminApp; }
public AdminUserServiceSpecs(TestDiscussionAdminApp adminApp) { _adminApp = adminApp; }
public ArticleRepoSpecs(TestDiscussionAdminApp app) { services = app.ApplicationServices; app.DeleteAll <Article>(); }