From 969f14953eaefe7aed350598531bef3eb9931f8a Mon Sep 17 00:00:00 2001 From: Damilola Olowookere Date: Fri, 25 Oct 2024 21:15:47 +0100 Subject: [PATCH] Add skipping test for Laravel 10 version check --- tests/ArchitectureTest.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/ArchitectureTest.php b/tests/ArchitectureTest.php index d06f55c..d9278f1 100644 --- a/tests/ArchitectureTest.php +++ b/tests/ArchitectureTest.php @@ -1,5 +1,7 @@ expect('Damms005\LaravelMultipay') @@ -8,4 +10,8 @@ arch('php preset')->preset()->php(); arch('laravel preset')->preset()->laravel()->ignoring('Damms005\LaravelMultipay\LaravelMultipayServiceProvider'); arch('security preset')->preset()->security()->ignoring('md5'); -}); +}) + ->skip( + Str::startsWith(Illuminate\Foundation\Application::VERSION, '10.'), + 'Skipped on Laravel 10' + );