diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbbe5c61..eebdc3ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: run: composer install --prefer-dist --no-progress - name: Normalize composer file - if: matrix.normalize == true + if: matrix.normalize == true && matrix.php != '8.0' run: composer normalize --dry-run - name: Run test suite diff --git a/src/resources/config/shopify-app.php b/src/resources/config/shopify-app.php index c1feb159..13338313 100644 --- a/src/resources/config/shopify-app.php +++ b/src/resources/config/shopify-app.php @@ -164,7 +164,7 @@ | */ - 'api_version' => env('SHOPIFY_API_VERSION', '2021-01'), + 'api_version' => env('SHOPIFY_API_VERSION', '2022-01'), /* |-------------------------------------------------------------------------- diff --git a/tests/Services/ApiHelperTest.php b/tests/Services/ApiHelperTest.php index 62d3cc65..bae97ba3 100644 --- a/tests/Services/ApiHelperTest.php +++ b/tests/Services/ApiHelperTest.php @@ -42,7 +42,7 @@ public function testMake(): void $this->assertInstanceOf(BasicShopifyAPI::class, $api); $this->assertSame(Util::getShopifyConfig('api_secret'), $this->app['config']->get('shopify-app.api_secret')); $this->assertSame(Util::getShopifyConfig('api_key'), $this->app['config']->get('shopify-app.api_key')); - $this->assertSame($this->app['config']->get('shopify-app.api_version'), '2021-01'); + $this->assertSame($this->app['config']->get('shopify-app.api_version'), '2022-01'); } public function testSetAndGetApi(): void