mirror of
https://github.com/pestphp/pest.git
synced 2026-07-23 18:10:03 +02:00
fix: package lock fingerprint
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
use Pest\Arch\Exceptions\ArchExpectationFailedException;
|
||||
use Tests\Fixtures\Arch\ToHavePublicMethodsBesides\UserController;
|
||||
|
||||
test('pass', function () {
|
||||
test('pass', function (): void {
|
||||
expect(UserController::class)->not->toHavePrivateMethodsBesides(['privateMethod']);
|
||||
});
|
||||
|
||||
test('failures', function () {
|
||||
test('failures', function (): void {
|
||||
expect(UserController::class)->not->toHavePrivateMethods();
|
||||
})->throws(ArchExpectationFailedException::class);
|
||||
|
||||
Reference in New Issue
Block a user