Skip to content

Commit 69d9414

Browse files
committed
feat: Arch tests completed
1 parent b311c6e commit 69d9414

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Architecture/GlobalsTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
->expect('Infrastructure')
1919
->toOnlyBeUsedIn(['Application']);
2020

21+
arch('Application should only accessed by Presentation, Infrastructure and Domain Layer')
22+
->expect('Application')
23+
->toOnlyBeUsedIn(['Presentation', 'Infrastructure', 'Domain']);
24+
2125
arch('Presentation should not be used in Domain, Application, Shared, Infrastructure Layer')
2226
->expect('Presentation')
2327
->not->toBeUsedIn(['Domain','Application', 'Shared', 'Infrastructure']);

0 commit comments

Comments
 (0)