Skip to content

Commit

Permalink
Refactor architecture test presets for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
damms005 committed Oct 25, 2024
1 parent 1333056 commit 0a79764
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ArchitectureTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

describe('architecture tests', function () {
arch(null)
arch('dev debug calls')
->expect('Damms005\LaravelMultipay')
->not->toUse(['die', 'dd', 'dump']);

arch(null)->preset()->php();
arch(null)->preset()->laravel()->ignoring('Damms005\LaravelMultipay\LaravelMultipayServiceProvider');
arch(null)->preset()->security()->ignoring('md5');
arch('php preset')->preset()->php();
arch('laravel preset')->preset()->laravel()->ignoring('Damms005\LaravelMultipay\LaravelMultipayServiceProvider');
arch('security preset')->preset()->security()->ignoring('md5');
});

0 comments on commit 0a79764

Please sign in to comment.