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

            PreTestDataWorker.DeleteAllCustomers();

            //var bootManager = new WebBootManager();
            //bootManager.Initialize();

            _address = new Address()
            {
                Name        = "Test",
                Address1    = "111 Somewhere Outwhere",
                Locality    = "Out There",
                PostalCode  = "98225",
                Region      = "WA",
                CountryCode = "US",
                Email       = "*****@*****.**"
            };

            InvoiceService.Saved += InvoiceServiceSaved;

            OrderService.Saved += OrderServiceSaved;

            //var invoiceProvider = (InvoiceIndexer)ExamineManager.Instance.IndexProviderCollection["MerchelloInvoiceIndexer"];
            //invoiceProvider.RebuildIndex();
        }
Пример #2
0
        public void Initialize()
        {
            PreTestDataWorker.DeleteAllAnonymousCustomers();
            PreTestDataWorker.DeleteAllCustomers();

            // create a customer for retrieval tests
            var customer = _customerService.CreateCustomerWithKey(
                FixtureLoginName,
                "firstName",
                "lastName",
                "*****@*****.**");
        }
Пример #3
0
 public void Initialize()
 {
     PreTestDataWorker.DeleteAllCustomers();
 }