Media module, users hardening, README and token ledger
This commit is contained in:
1 parent
f86f5aea28
commit
9f2a21fa1f
22 files changed
+827
-24
No files matched your search
@@ -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();
|
||||
});
|
||||
Reference in new issue
Block a user