From 78aaa4fb0a9099738cbec5430a5883e931e15573 Mon Sep 17 00:00:00 2001 From: enmaboya Date: Mon, 11 Nov 2024 17:53:32 +0400 Subject: [PATCH] update tests --- src/Traits/AuthController.php | 2 +- src/resources/views/auth/fullpage_redirect.blade.php | 2 +- src/resources/views/billing/fullpage_redirect.blade.php | 2 +- src/resources/views/layouts/default.blade.php | 2 +- src/resources/views/partials/token_handler.blade.php | 6 +++--- tests/Traits/AuthControllerTest.php | 2 +- tests/Traits/BillingControllerTest.php | 1 + tests/Traits/HomeControllerTest.php | 9 +++------ 8 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/Traits/AuthController.php b/src/Traits/AuthController.php index 3e9ee209..4d034079 100644 --- a/src/Traits/AuthController.php +++ b/src/Traits/AuthController.php @@ -64,7 +64,7 @@ public function authenticate(Request $request, AuthenticateShop $authShop) 'shopify-app::auth.fullpage_redirect', [ 'apiKey' => Util::getShopifyConfig('api_key', $shopOrigin), - 'authUrl' => $result['url'], + 'url' => $result['url'], 'host' => $request->get('host'), 'shopDomain' => $shopDomain, 'locale' => $request->get('locale'), diff --git a/src/resources/views/auth/fullpage_redirect.blade.php b/src/resources/views/auth/fullpage_redirect.blade.php index 0c911ca4..e14175f0 100644 --- a/src/resources/views/auth/fullpage_redirect.blade.php +++ b/src/resources/views/auth/fullpage_redirect.blade.php @@ -10,7 +10,7 @@ - {{ \Osiset\ShopifyApp\Util::getShopifyConfig('app_name') }} + {{ config('shopify-app.app_name') }} @yield('styles') diff --git a/src/resources/views/partials/token_handler.blade.php b/src/resources/views/partials/token_handler.blade.php index e8fced08..a9194b2d 100644 --- a/src/resources/views/partials/token_handler.blade.php +++ b/src/resources/views/partials/token_handler.blade.php @@ -1,7 +1,8 @@