From 85e4a4dfc5c5c0d2c429b05861ab4ed49e71e062 Mon Sep 17 00:00:00 2001 From: roble Date: Fri, 5 Jun 2026 12:48:57 +0100 Subject: [PATCH 1/4] feat: Update Stripe PHP dependency to version 20.2 and remove unused dependencies --- composer.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 24bf8d5..71e165f 100644 --- a/composer.json +++ b/composer.json @@ -10,10 +10,7 @@ } ], "require": { - "php": "^8.4", - "spatie/laravel-data": "^4.0", - "stripe/stripe-php": "^19.2", - "spatie/laravel-typescript-transformer": "^2.5" + "stripe/stripe-php": "^20.2" }, "license": "proprietary", "minimum-stability": "stable", From b3ad66488ba9a2c0194f3911fee68ccd2d2cc4c9 Mon Sep 17 00:00:00 2001 From: roble Date: Fri, 5 Jun 2026 12:56:55 +0100 Subject: [PATCH 2/4] test: Skip billing settings tests if settings module is not installed --- tests/Feature/BillingSettingsPageTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/Feature/BillingSettingsPageTest.php b/tests/Feature/BillingSettingsPageTest.php index b33b9e7..9fd0a91 100644 --- a/tests/Feature/BillingSettingsPageTest.php +++ b/tests/Feature/BillingSettingsPageTest.php @@ -3,6 +3,7 @@ namespace Modules\Billing\Tests\Feature; use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Support\Facades\Route; use Inertia\Testing\AssertableInertia; use Modules\Billing\Enums\InvoiceStatus; use Modules\Billing\Enums\SubscriptionStatus; @@ -16,6 +17,15 @@ class BillingSettingsPageTest extends TestCase { use RefreshDatabase; + protected function setUp(): void + { + parent::setUp(); + + if (! Route::has('settings.index')) { + $this->markTestSkipped('Settings module not installed.'); + } + } + public function test_billing_page_requires_auth(): void { $response = $this->get(route('settings.billing')); From c0d401bbc0fe0c09f6b6f48b97db5c62c5873d25 Mon Sep 17 00:00:00 2001 From: roble Date: Fri, 5 Jun 2026 12:59:13 +0100 Subject: [PATCH 3/4] fix: Update dependencies in test workflow to include settings module --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 11d6355..63c8365 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,4 +14,4 @@ jobs: uses: saucebase-dev/saucebase/.github/workflows/test-module.yml@main with: module: billing - dependencies: saucebase/auth + dependencies: saucebase/auth sausebase/settings From f0ef4bd0ceca0339272ce8daad49da616e1acc43 Mon Sep 17 00:00:00 2001 From: roble Date: Fri, 5 Jun 2026 13:00:45 +0100 Subject: [PATCH 4/4] fix: Correct typo in dependencies for billing module tests --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63c8365..6ab3440 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,4 +14,4 @@ jobs: uses: saucebase-dev/saucebase/.github/workflows/test-module.yml@main with: module: billing - dependencies: saucebase/auth sausebase/settings + dependencies: saucebase/auth saucebase/settings