Media module, users hardening, README and token ledger

This commit is contained in:
Matthijs Iriks committed 2026-12-04 01:27:04 +01:00
1 parent f86f5aea28
commit 9f2a21fa1f
22 files changed
+827 -24

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<?php
use Illuminate\Support\Facades\Schema;
use IriksIT\Manager\Tests\MediaOffTestCase;
uses(MediaOffTestCase::class);
it('has no routes, no public file route and no table for a site without media', function () {
expect(Route::has('manager.media.index'))->toBeFalse()
->and(Route::has('manager.media.file'))->toBeFalse()
->and(Schema::hasTable('manager_media'))->toBeFalse();
$this->get('/media-files/1/x.png/view')->assertNotFound();
});