Skip to content

Commit

Permalink
chore: fix use of arch function instead of test
Browse files Browse the repository at this point in the history
  • Loading branch information
nahime0 committed Feb 10, 2024
1 parent 475a557 commit cf09ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ arch('app')
The `toBeIntBackedEnums()` method may be used to ensure that all enums within a specified namespace are int-backed.

```php
test('app')
arch('app')
->expect('App\Enums')
->toBeIntBackedEnums();
```
Expand Down Expand Up @@ -165,7 +165,7 @@ arch('app')
The `toBeStringBackedEnums()` method may be used to ensure that all enums within a specified namespace are string-backed.

```php
test('app')
arch('app')
->expect('App\Enums')
->toBeStringBackedEnums();
```
Expand Down

0 comments on commit cf09ac0

Please sign in to comment.