mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
tests: uses arch function
This commit is contained in:
@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
use Pest\Expectation;
|
use Pest\Expectation;
|
||||||
|
|
||||||
test('globals')
|
arch('globals')
|
||||||
->expect(['dd', 'dump', 'ray', 'die', 'var_dump', 'sleep'])
|
->expect(['dd', 'dump', 'ray', 'die', 'var_dump', 'sleep'])
|
||||||
->not->toBeUsed()
|
->not->toBeUsed()
|
||||||
->ignoring(Expectation::class);
|
->ignoring(Expectation::class);
|
||||||
|
|
||||||
test('dependencies')
|
arch('dependencies')
|
||||||
->expect('Pest')
|
->expect('Pest')
|
||||||
->toOnlyUse([
|
->toOnlyUse([
|
||||||
'dd',
|
'dd',
|
||||||
@ -24,7 +24,7 @@ test('dependencies')
|
|||||||
'Symfony\Component\Process',
|
'Symfony\Component\Process',
|
||||||
])->ignoring(['Composer', 'PHPUnit', 'SebastianBergmann']);
|
])->ignoring(['Composer', 'PHPUnit', 'SebastianBergmann']);
|
||||||
|
|
||||||
test('contracts')
|
arch('contracts')
|
||||||
->expect('Pest\Contracts')
|
->expect('Pest\Contracts')
|
||||||
->toOnlyUse([
|
->toOnlyUse([
|
||||||
'NunoMaduro\Collision\Contracts',
|
'NunoMaduro\Collision\Contracts',
|
||||||
|
|||||||
Reference in New Issue
Block a user