コード例 #1
0
        public void GetShopifyThemeZip()
        {
            var shopifyAuthenticationService = GetAuthService();

            var repository = new ShopifyRepository(shopifyAuthenticationService);

            var theme = repository.GetShopifyThemes().First();
        }
コード例 #2
0
        public void GetShopifyThemesTest()
        {
            var shopifyAuthenticationService = GetAuthService();

            var repository = new ShopifyRepository(shopifyAuthenticationService);

            var themes = repository.GetShopifyThemes();

            Assert.NotNull(themes);
            Assert.True(themes.Any());
        }
コード例 #3
0
        public void GetShopifyProductsTest()
        {
            var shopifyAuthenticationService = GetAuthService();

            var repository = new ShopifyRepository(shopifyAuthenticationService);

            var products = repository.GetShopifyProducts();

            Assert.NotNull(products);
            Assert.True(products.Any());
        }
コード例 #4
0
        public void GetShopifyCollectionsTest()
        {
            var shopifyAuthenticationService = GetAuthService();

            var repository = new ShopifyRepository(shopifyAuthenticationService);

            var collections = repository.GetShopifyCollections();

            Assert.NotNull(collections);
            Assert.True(collections.Any());
        }
コード例 #5
0
        public void GetShopifyPagesTest()
        {
            var shopifyAuthenticationService = GetAuthService();

            var repository = new ShopifyRepository(shopifyAuthenticationService);

            var pages = repository.GetShopifyPages();

            Assert.IsNotNull(pages);
            Assert.IsTrue(pages.Any());
        }
コード例 #6
0
        public void GetShopifyAssetsTest()
        {
            var shopifyAuthenticationService = GetAuthService();

            var repository = new ShopifyRepository(shopifyAuthenticationService);

            var theme = repository.GetShopifyThemes().First();

            var assets = repository.GetShopifyAssets(theme.Id);

            Assert.NotNull(assets);
            Assert.True(assets.Any());
        }