## File WebFiori/File/FileUploader.php ## Current Coverage `getMaxFileSize()` has no tests. ## Scenarios to Cover - [ ] Returns correct value when `upload_max_filesize` is set in M (megabytes) - [ ] Returns correct value when set in K (kilobytes) - [ ] Returns correct value when set in G (gigabytes) - [ ] Returns correct value when set as plain bytes (no suffix) ## Notes This test may need to mock or temporarily override the ini value. Also related to issue about incorrect 1000 vs 1024 math.
File
WebFiori/File/FileUploader.php
Current Coverage
getMaxFileSize()has no tests.Scenarios to Cover
upload_max_filesizeis set in M (megabytes)Notes
This test may need to mock or temporarily override the ini value. Also related to issue about incorrect 1000 vs 1024 math.