We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a89664 commit 40ff83dCopy full SHA for 40ff83d
tests/Feature/AllowedMimeTypesTest.php
@@ -14,6 +14,9 @@ protected function setUp(): void
14
15
$this->app['config']->set('defaults.max_upload_file_size', 1024 * 10);
16
$this->app['config']->set('defaults.max_image_file_size', 1024 * 2);
17
+
18
+ AllowedMimeTypes::setDefaultIconPack('fontawesome');
19
+ AllowedMimeTypes::registerIconPrefix('fontawesome', 'fa-regular fa-');
20
}
21
22
#[Test]
@@ -164,10 +167,16 @@ public function it_can_get_all_allowed_types()
164
167
$this->assertEquals([
165
168
'image',
166
169
'icon',
- 'document',
170
'video',
171
'audio',
172
'excel',
173
+ 'word',
174
+ 'powerpoint',
175
+ 'pdf',
176
+ 'text',
177
+ 'json',
178
+ 'document',
179
+ 'zip',
180
'paper',
181
], $result);
182
0 commit comments