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); }
public void Setup() { #if (SHOPIFY_TEST) ShopifyBuy.Reset(); #endif }