Skip to content

Commit 72b75c7

Browse files
authored
misc: api version updated to 2024-04 (#307)
1 parent 8eaa85b commit 72b75c7

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/resources/config/shopify-app.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
|
169169
*/
170170

171-
'api_version' => env('SHOPIFY_API_VERSION', '2024-01'),
171+
'api_version' => env('SHOPIFY_API_VERSION', '2024-04'),
172172

173173
/*
174174
|--------------------------------------------------------------------------
@@ -396,8 +396,7 @@
396396
'address' => env('SHOPIFY_WEBHOOK_3_ADDRESS', 'https://some-app.com/webhook/orders-create'),
397397
'class' => \App\Shopify\Actions\ExampleAppJob::class
398398
],
399-
*/
400-
],
399+
*/],
401400

402401
/*
403402
|--------------------------------------------------------------------------
@@ -416,8 +415,7 @@
416415
'display_scope' => env('SHOPIFY_SCRIPTTAG_1_DISPLAY_SCOPE', 'online_store')
417416
],
418417
...
419-
*/
420-
],
418+
*/],
421419

422420
/*
423421
|--------------------------------------------------------------------------
@@ -441,8 +439,7 @@
441439
'job' => env('AFTER_AUTHENTICATE_JOB'), // example: \App\Jobs\AfterAuthorizeJob::class
442440
'inline' => env('AFTER_AUTHENTICATE_JOB_INLINE', false) // False = dispatch job for later, true = dispatch immediately
443441
],
444-
*/
445-
],
442+
*/],
446443

447444
/*
448445
|--------------------------------------------------------------------------
@@ -551,7 +548,7 @@
551548
* Cache duration
552549
*/
553550
'cache_duration' => 12,
554-
/*
551+
/*
555552
* At which levels of theme support the use of "theme app extension" is not available
556553
* and script tags will be installed.
557554
* Available levels: FULL, PARTIAL, UNSUPPORTED.

tests/Services/ApiHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testMake(): void
4242
$this->assertInstanceOf(BasicShopifyAPI::class, $api);
4343
$this->assertSame(Util::getShopifyConfig('api_secret'), $this->app['config']->get('shopify-app.api_secret'));
4444
$this->assertSame(Util::getShopifyConfig('api_key'), $this->app['config']->get('shopify-app.api_key'));
45-
$this->assertSame($this->app['config']->get('shopify-app.api_version'), '2024-01');
45+
$this->assertSame($this->app['config']->get('shopify-app.api_version'), '2024-04');
4646
}
4747

4848
public function testSetAndGetApi(): void

0 commit comments

Comments
 (0)