public static void MockContextAndController(ref BasicSetupObjects controllers, ref IPocketRitualDbContext context) { context = new PocketRitualDbContextMock(); controllers.journey_controller = new JourneyController(context); controllers.user_controller = new UserController(context); controllers.card_controller = new CardController(context); controllers.action_category_controller = new ActionCategoryController(context); controllers.action_controller = new ActionController(context); controllers.card_action_controller = new CardActionController(context); controllers.card_category_controller = new CardCategoryController(context); controllers.event_controller = new EventController(context); controllers.journey_card_controller = new JourneyCardController(context); }
public static void MockContextAndController(ref BasicSetupObjects controllers, ref IPocketRitualDbContext context) { context = new PocketRitualDbContextMock(); controllers.journey_controller = new JourneyController(context); controllers.user_controller = new UserController(context); controllers.card_controller = new CardController(context); }