public FlycowApiClientProvider(
     ICommonSettingsProvider commonSettingsProvider,
     IFlycowApiClientSettingsProvider flycowApiClientSettingsProvider)
 {
     _commonSettingsProvider          = commonSettingsProvider;
     _flycowApiClientSettingsProvider = flycowApiClientSettingsProvider;
 }
Example #2
0
 public ProductController(
     IRepository repository,
     ITokenProvider tokenProvider,
     ICommonSettingsProvider commonSettingsProvider)
 {
     _repository             = repository;
     _tokenProvider          = tokenProvider;
     _commonSettingsProvider = commonSettingsProvider;
 }
Example #3
0
        public override void BeforeAll()
        {
            base.BeforeAll();

            _settingsProvider = _container.Resolve <ICommonSettingsProvider>();
            var playerTestHelper = _container.Resolve <PlayerTestHelper>();

            //create a player
            _player = playerTestHelper.CreatePlayerForMemberWebsite(currencyCode: "CAD", password: "******");
        }
        public override void BeforeEach()
        {
            base.BeforeEach();

            _driver.Logout();
            _dashboardPage     = _driver.LoginToAdminWebsiteAsSuperAdmin();
            _playerManagerPage = _dashboardPage.Menu.ClickPlayerManagerMenuItem();

            _settingsProvider        = _container.Resolve <ICommonSettingsProvider>();
            _brandQueries            = _container.Resolve <BrandQueries>();
            _playerTestHelper        = _container.Resolve <PlayerTestHelper>();
            _paymentSettingsCommands = _container.Resolve <IPaymentSettingsCommands>();
        }
Example #5
0
        public override void BeforeAll()
        {
            base.BeforeAll();

            Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-CA");

            _container = new ApplicationContainerFactory().CreateWithRegisteredTypes();

            SettingsProvider = _container.Resolve <ICommonSettingsProvider>();
            _container.Resolve <SecurityTestHelper>().SignInClaimsSuperAdmin();

            _driver     = CreateFireFoxWebDriver();
            _driver.Url = GetWebsiteUrl();
            _driver.Manage().Cookies.DeleteAllCookies();
            _driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(10));
            _driver.Manage().Window.Size = new Size(1500, 900);
        }
 public ProductApiClientFactory(ICommonSettingsProvider settingsProvider)
 {
     _settingsProvider = settingsProvider;
 }
Example #7
0
        public TestConfig()
        {
            var container = new ApplicationContainerFactory().CreateWithRegisteredTypes();

            _settingsProvider = container.Resolve <ICommonSettingsProvider>();
        }
Example #8
0
 public BrandApiClientFactory(ICommonSettingsProvider settingsProvider)
 {
     _settingsProvider = settingsProvider;
 }
Example #9
0
 public ModeSwitch(ICommonSettingsProvider commonSettingsProvider)
 {
     _commonSettingsProvider = commonSettingsProvider;
 }
 public ApplicationSeeder(
     IRepositoryBase repositoryBase,
     IBrandRepository brandRepository,
     ILicenseeCommands licenseeCommands,
     ICurrencyCommands currencyCommands,
     IBrandCommands brandCommands,
     ICultureCommands cultureCommands,
     IPlayerRepository playerRepository,
     IBrandOperations walletCommands,
     PlayerCommands playerCommands,
     IAuthCommands authCommands,
     IAuthRepository authRepository,
     RoleService roleService,
     ISecurityRepository securityRepository,
     IBankCommands bankCommands,
     IBankAccountCommands bankAccountCommands,
     IPaymentLevelCommands paymentLevelCommands,
     RiskLevelCommands riskLevelCommands,
     IPaymentRepository paymentRepository,
     IGameRepository gameRepository,
     IGameManagement gameManagement,
     ICurrencyExchangeCommands currencyExchangeCommands,
     ContentTranslationCommands contentTranslationCommands,
     BackendIpRegulationService backendIpRegulationService,
     BrandIpRegulationService brandIpRegulationService,
     IPaymentGatewaySettingsCommands paymentGatewaySettingsCommands,
     ISettingsCommands settingsCommands,
     ISettingsRepository settingsRepository,
     ICommonSettingsProvider settingsProvider,
     IMassMessageCommands massMessageCommands,
     IMessagingRepository messagingRepository,
     IEventRepository eventRepository,
     IEventBus eventBus)
 {
     _repositoryBase                 = repositoryBase;
     _brandRepository                = brandRepository;
     _licenseeCommands               = licenseeCommands;
     _currencyCommands               = currencyCommands;
     _brandCommands                  = brandCommands;
     _cultureCommands                = cultureCommands;
     _playerCommands                 = playerCommands;
     _authCommands                   = authCommands;
     _authRepository                 = authRepository;
     _roleService                    = roleService;
     _securityRepository             = securityRepository;
     _playerRepository               = playerRepository;
     _walletCommands                 = walletCommands;
     _bankCommands                   = bankCommands;
     _bankAccountCommands            = bankAccountCommands;
     _paymentLevelCommands           = paymentLevelCommands;
     _riskLevelCommands              = riskLevelCommands;
     _paymentRepository              = paymentRepository;
     _gameRepository                 = gameRepository;
     _gameManagement                 = gameManagement;
     _currencyExchangeCommands       = currencyExchangeCommands;
     _contentTranslationCommands     = contentTranslationCommands;
     _backendIpRegulationService     = backendIpRegulationService;
     _brandIpRegulationService       = brandIpRegulationService;
     _paymentGatewaySettingsCommands = paymentGatewaySettingsCommands;
     _settingsCommands               = settingsCommands;
     _settingsRepository             = settingsRepository;
     _settingsProvider               = settingsProvider;
     _massMessageCommands            = massMessageCommands;
     _messagingRepository            = messagingRepository;
     _eventRepository                = eventRepository;
     _eventBus = eventBus;
 }