Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1059 from osiset/support/update_api_to_2022-01
Browse files Browse the repository at this point in the history
Update the API version to 2022-01
  • Loading branch information
Kyon147 authored Feb 4, 2022
2 parents bdea455 + 305feea commit baa6248
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/resources/config/shopify-app.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
|
*/

'api_version' => env('SHOPIFY_API_VERSION', '2021-01'),
'api_version' => env('SHOPIFY_API_VERSION', '2022-01'),

/*
|--------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tests/Services/ApiHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit baa6248

Please sign in to comment.