Display CMS Optimierungen 29-05-2026
- Mediathek: Video-Vorschaubilder statt Icons (FFmpeg-Thumbnails + Backfill-Command), Kategorie "Sonstiges" - B2in Media-Picker zeigt alle Medientypen, Typ wird automatisch erkannt; Thumbnail-Preview vor allen Medien-URL-Feldern - B2in Marke/Footer: Footer ein/aus, Logo+Claim frei positionierbar (Ecken) mit Constraints, separate Anzeige-Schalter - Angebote-Modul dynamisch: kein Slide-Typ mehr, einheitliches Detail-Layout mit ein-/ausblendbaren Bloecken, Logo/Brand pro Slide, Streichpreis-Option - Player: leere Module stoppen Endlosschleife, dynamische Layout-Anpassung bei verstecktem Footer/Header - Fix: Script-Ladereihenfolge (Livewire vor Flux), entfernte stale public/flux/flux.js, Modal-Crash beim Aktualisieren behoben Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
9262132325
commit
6c6d683b9a
42 changed files with 2267 additions and 13905 deletions
19
tests/Feature/TestDisplaySeederTest.php
Normal file
19
tests/Feature/TestDisplaySeederTest.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use App\Models\Display;
|
||||
use Database\Seeders\TestDisplaySeeder;
|
||||
|
||||
it('seeds exactly one test display', function () {
|
||||
$this->seed(TestDisplaySeeder::class);
|
||||
|
||||
expect(Display::query()->where('is_test', true)->count())->toBe(1);
|
||||
});
|
||||
|
||||
it('is idempotent and does not create a second test display', function () {
|
||||
$this->seed(TestDisplaySeeder::class);
|
||||
$this->seed(TestDisplaySeeder::class);
|
||||
|
||||
expect(Display::query()->where('is_test', true)->count())->toBe(1);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue