Esempio n. 1
0
        public void Setup()
        {
            #if (SHOPIFY_TEST)
            ShopifyBuy.Reset();
            #endif

            ShopifyBuy.Init(new MockLoader());
        }
        private void Initialize()
        {
            #if (SHOPIFY_TEST)
            ShopifyBuy.Reset();
            #else
            Debug.Log("Warning: You are running tests without defining SHOPIFY_TEST");
            #endif

            ShopifyBuy.Init(AccessToken, ShopDomain);
            Client            = ShopifyBuy.Client();
            CurrentCart       = Client.Cart(CartName);
            CurrentCart.State = new CartState(Client);
        }
Esempio n. 3
0
 public void Setup()
 {
     #if (SHOPIFY_TEST)
     ShopifyBuy.Reset();
     #endif
 }