Skip to content

Commit ca38d3a

Browse files
feat: trait arch tests
Signed-off-by: Dusan Malusev <[email protected]>
1 parent 136a02f commit ca38d3a

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

tests/Architecture/HashingTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
declare(strict_types=1);

tests/Architecture/SigningTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+

tests/Architecture/TraitTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@
66
->expect('CodeLieutenant\LaravelCrypto\Traits')
77
->toBeTraits();
88

9+
arch('hashing traits')
10+
->expect('CodeLieutenant\LaravelCrypto\Hashing\Traits')
11+
->toBeTraits();
12+
13+
arch('signing traits')
14+
->expect('CodeLieutenant\LaravelCrypto\Signing\Traits')
15+
->toBeTraits();
16+

0 commit comments

Comments
 (0)