Skip to content

Commit

Permalink
Add skipping test for Laravel 10 version check
Browse files Browse the repository at this point in the history
  • Loading branch information
damms005 committed Oct 25, 2024
1 parent 0a79764 commit 969f149
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/ArchitectureTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Illuminate\Support\Str;

describe('architecture tests', function () {
arch('dev debug calls')
->expect('Damms005\LaravelMultipay')
Expand All @@ -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'
);

0 comments on commit 969f149

Please sign in to comment.