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

Update the API version to 2022-01 #1059

Merged
merged 3 commits into from
Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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