Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
vadymtsots committed Feb 5, 2024
1 parent 942d797 commit e40634b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Unit/ValidatedDTOTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public function __invoke()
});

it('validates that ValidateDTO cannot be instantiated with wrong mime type')
->expect(function () {
$uploadedFile = UploadedFile::fake()->create('document.pdf');
ValidatedFileDTO::fromArray(['file' => $uploadedFile]);
})->throws(ValidationException::class);
->expect(function () {
$uploadedFile = UploadedFile::fake()->create('document.pdf');
ValidatedFileDTO::fromArray(['file' => $uploadedFile]);
})->throws(ValidationException::class);

0 comments on commit e40634b

Please sign in to comment.