Skip to content

Commit 69f6d4a

Browse files
committed
update dependencies and tests
1 parent 356fc6c commit 69f6d4a

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"require": {
1414
"pixelfear/composer-dist-plugin": "^0.1",
1515
"shopify/shopify-api": "^5.1",
16-
"statamic/cms": "dev-master"
16+
"statamic/cms": "^6.0"
1717
},
1818
"require-dev": {
1919
"jasonmccreary/laravel-test-assertions": "^2.0",
2020
"laravel/pint": "^1.0",
2121
"mockery/mockery": "^1.3.3",
22-
"orchestra/testbench": "^8.0 || ^9.0.2",
23-
"phpunit/phpunit": "^9.4 || ^10.0 || ^11.0",
22+
"orchestra/testbench": "^10.0.2",
23+
"phpunit/phpunit": "^11.0",
2424
"spatie/laravel-ray": "*"
2525
},
2626
"autoload": {
@@ -55,6 +55,5 @@
5555
"description": "Shopify Addon for Statamic",
5656
"name": "Shopify"
5757
}
58-
},
59-
"minimum-stability": "alpha"
58+
}
6059
}

tests/Unit/ImportSingleProductJobTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ public function imports_product()
4949
#[Test]
5050
public function imports_translations_for_product()
5151
{
52-
Facades\Site::setConfig(['sites' => [
52+
Facades\Site::setSites([
5353
'en' => ['url' => '/', 'locale' => 'en_US'],
5454
'fr' => ['url' => '/fr/', 'locale' => 'fr_FR'],
55-
]]);
55+
]);
5656

5757
Facades\Collection::make(config('shopify.collection_handle', 'products'))->sites(['en', 'fr'])->save();
5858
Facades\Taxonomy::make()->handle('collections')->save();

0 commit comments

Comments
 (0)