Skip to content

Commit 969f149

Browse files
committed
Add skipping test for Laravel 10 version check
1 parent 0a79764 commit 969f149

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/ArchitectureTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use Illuminate\Support\Str;
4+
35
describe('architecture tests', function () {
46
arch('dev debug calls')
57
->expect('Damms005\LaravelMultipay')
@@ -8,4 +10,8 @@
810
arch('php preset')->preset()->php();
911
arch('laravel preset')->preset()->laravel()->ignoring('Damms005\LaravelMultipay\LaravelMultipayServiceProvider');
1012
arch('security preset')->preset()->security()->ignoring('md5');
11-
});
13+
})
14+
->skip(
15+
Str::startsWith(Illuminate\Foundation\Application::VERSION, '10.'),
16+
'Skipped on Laravel 10'
17+
);

0 commit comments

Comments
 (0)