public override void BeforeEach()
        {
            base.BeforeEach();

            _riskQueries  = Container.Resolve <IRiskLevelQueries>();
            _riskCommands = Container.Resolve <IRiskLevelCommands>();
            Container.Resolve <RiskLevelWorker>().Start();
        }
Example #2
0
 public FraudController(
     IRiskLevelCommands commands,
     IRiskLevelQueries queries,
     BrandQueries brandQueries,
     IAdminQueries adminQueries)
 {
     _commands     = commands;
     _queries      = queries;
     _brandQueries = brandQueries;
     _adminQueries = adminQueries;
 }
Example #3
0
        public override void BeforeEach()
        {
            base.BeforeEach();

            _riskQueries  = Container.Resolve <IRiskLevelQueries>();
            _riskCommands = Container.Resolve <IRiskLevelCommands>();

            var securityTestHelper = Container.Resolve <SecurityTestHelper>();

            securityTestHelper.PopulatePermissions();
            securityTestHelper.CreateAndSignInSuperAdmin();
            Container.Resolve <RiskLevelWorker>().Start();
        }