Skip to content

Commit 0a79764

Browse files
committed
Refactor architecture test presets for readability
1 parent 1333056 commit 0a79764

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ArchitectureTest.php

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

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

8-
arch(null)->preset()->php();
9-
arch(null)->preset()->laravel()->ignoring('Damms005\LaravelMultipay\LaravelMultipayServiceProvider');
10-
arch(null)->preset()->security()->ignoring('md5');
8+
arch('php preset')->preset()->php();
9+
arch('laravel preset')->preset()->laravel()->ignoring('Damms005\LaravelMultipay\LaravelMultipayServiceProvider');
10+
arch('security preset')->preset()->security()->ignoring('md5');
1111
});

0 commit comments

Comments
 (0)