Ejemplo n.º 1
0
        public void OnetimeSetup()
        {
            TestDbInit.MySql(BaseTest.MySqlConnectionString);
            var installationService = new InstallationService(TestDbInit.DbSettings, DependencyResolver.Resolve <ILocalFileProvider>());

            installationService.Install();
            installationService.FillRequiredSeedData("*****@*****.**", "@#$%^&*", "localhost", "Test Store");
        }
Ejemplo n.º 2
0
        public void OnetimeSetup()
        {
            TestDbInit.MySql(BaseTest.MySqlConnectionString);
            var installationService = new InstallationService(TestDbInit.DbSettings, DependencyResolver.Resolve <ILocalFileProvider>());

            installationService.Install();
            installationService.FillRequiredSeedData("*****@*****.**", "@#$%^&*", "localhost", "Test Store");
            //set the current store to 1
            ApplicationEngine.CurrentHttpContext.SetCurrentStore(new Store()
            {
                Id = 1
            });
        }
Ejemplo n.º 3
0
 public MySqlPriceAccountantTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
Ejemplo n.º 4
0
 public MySqlUserAuthenticationTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
 public MySqlDiscountServiceTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
Ejemplo n.º 6
0
 public MySqlTaxServiceTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
Ejemplo n.º 7
0
 public MySqlProductServiceTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
Ejemplo n.º 8
0
 public MySqlCategoryServiceTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
Ejemplo n.º 9
0
 public MySqlRoleCapabilityTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }
 public MySqlUserSubscriptionTests()
 {
     TestDbInit.MySql(MySqlConnectionString);
 }