### Changes

Fixes #3: Error on DBI when files or folders contains special characters.

### Additional changes
* Added unit and feature tests
* Fix file size display
* Run tests on CI/CD
* Publish docker image on release
This commit is contained in:
Fabián Gonzalo Artur de la Villarmois
2026-03-29 17:35:32 +13:00
parent 15b9c17b99
commit 0993bfa666
15 changed files with 487 additions and 18 deletions
@@ -0,0 +1,13 @@
<?php
test('a request with a theme header on the web root redirects to the tinfoil route', function () {
$response = $this->get('/', ['HTTP_THEME' => 'default']);
$response->assertRedirect(route('tinfoil'));
});
test('a request without a theme header on the web root is not redirected', function () {
$response = $this->get('/');
$response->assertStatus(200);
});