@@ -23,7 +23,7 @@ function getSanitizedName(string $name, ?string $type = null): string
2323}
2424
2525
26- test ('name ' , function () {
26+ test ('sanitized name without MIME ' , function () {
2727 Assert::same ('unknown ' , getSanitizedName ('' ));
2828 Assert::same ('unknown ' , getSanitizedName ('-- ' ));
2929 Assert::same ('foo ' , getSanitizedName ('foo ' ));
@@ -36,7 +36,7 @@ test('name', function () {
3636});
3737
3838
39- test ('name & extension ' , function () {
39+ test ('sanitized name with PDF type ' , function () {
4040 Assert::same ('unknown ' , getSanitizedName ('' , 'application/pdf ' ));
4141 Assert::same ('unknown ' , getSanitizedName ('-- ' , 'application/pdf ' ));
4242 Assert::same ('foo ' , getSanitizedName ('foo ' , 'application/pdf ' ));
@@ -46,7 +46,7 @@ test('name & extension', function () {
4646});
4747
4848
49- test ('image name & extension ' , function () {
49+ test ('sanitized name with JPEG type ' , function () {
5050 Assert::same ('unknown.jpeg ' , getSanitizedName ('' , 'image/jpeg ' ));
5151 Assert::same ('unknown.jpeg ' , getSanitizedName ('-- ' , 'image/jpeg ' ));
5252 Assert::same ('foo.jpeg ' , getSanitizedName ('foo ' , 'image/jpeg ' ));
0 commit comments