|
3 | 3 | namespace Osiset\ShopifyApp\Test\Services;
|
4 | 4 |
|
5 | 5 | use Exception;
|
6 |
| -use Osiset\ShopifyApp\Util; |
7 |
| -use Osiset\ShopifyApp\Test\TestCase; |
| 6 | +use Osiset\BasicShopifyAPI\BasicShopifyAPI; |
8 | 7 | use Osiset\BasicShopifyAPI\ResponseAccess;
|
| 8 | +use Osiset\ShopifyApp\Contracts\ApiHelper as IApiHelper; |
9 | 9 | use Osiset\ShopifyApp\Contracts\ShopModel as IShopModel;
|
10 |
| -use Osiset\BasicShopifyAPI\BasicShopifyAPI; |
11 | 10 | use Osiset\ShopifyApp\Objects\Enums\AuthMode;
|
12 |
| -use Osiset\ShopifyApp\Exceptions\ApiException; |
13 | 11 | use Osiset\ShopifyApp\Objects\Enums\ChargeType;
|
14 |
| -use Osiset\ShopifyApp\Test\Stubs\Api as ApiStub; |
15 | 12 | use Osiset\ShopifyApp\Objects\Enums\PlanInterval;
|
16 |
| -use Osiset\ShopifyApp\Objects\Values\ChargeReference; |
17 |
| -use Osiset\ShopifyApp\Contracts\ApiHelper as IApiHelper; |
18 | 13 | use Osiset\ShopifyApp\Objects\Transfers\PlanDetails as PlanDetailsTransfer;
|
19 | 14 | use Osiset\ShopifyApp\Objects\Transfers\UsageChargeDetails as UsageChargeDetailsTransfer;
|
| 15 | +use Osiset\ShopifyApp\Objects\Values\ChargeReference; |
| 16 | +use Osiset\ShopifyApp\Test\Stubs\Api as ApiStub; |
| 17 | +use Osiset\ShopifyApp\Test\TestCase; |
| 18 | +use Osiset\ShopifyApp\Util; |
20 | 19 |
|
21 | 20 | class ApiHelperTest extends TestCase
|
22 | 21 | {
|
@@ -202,7 +201,7 @@ public function testCreateWebhook(): void
|
202 | 201 |
|
203 | 202 | $data = $shop->apiHelper()->createWebhook([
|
204 | 203 | 'topic' => 'ORDERS_CREATE',
|
205 |
| - 'address' => 'https://localhost/webhook/orders-create' |
| 204 | + 'address' => 'https://localhost/webhook/orders-create', |
206 | 205 | ]);
|
207 | 206 | $this->assertInstanceOf(ResponseAccess::class, $data);
|
208 | 207 | $this->assertSame('ORDERS_CREATE', $data['data']['webhookSubscriptionCreate']['topic']);
|
|
0 commit comments