Formulare, WordPress-Import und E-Mail-Versand
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m0s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m11s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m7s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m52s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 3m2s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m31s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 2m27s
CI / Build-Artefakte aktuell (pull_request) Successful in 53s

- Formular-Plugin: Baukasten mit 13 Feldtypen, Bedingungen, Vorbelegung
  aus dem Profil, Datei-Uploads (geschützt), anonyme Formulare, „nur einmal“,
  Einsendeschluss, Sichtbarkeit, Löschfrist; Einsendungen im Backend und per
  Mail (optional ohne Angaben, Kopie an die Person); Rechte je Formular und
  Rolle für Ansehen/Export und Löschen; CSV für Excel; Pagebuilder-Block
- WordPress-Import (Plugin): WXR-Datei einlesen, Kategorien/Personen zuordnen,
  Beiträge mit Status, Datum, Beitragsbild und Bildern im Text übernehmen,
  optional Seiten mit Hierarchie; in Portionen, wiederholbar ohne Doppelungen
- E-Mail-Versand im Admin (SMTP, verschlüsseltes Passwort, Test-Mail)
- Speichertest unabhängig vom Verbrauch der Test-Suite

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-26 09:20:54 +00:00
parent f3987e8386
commit 11123fecc0
118 changed files with 4446 additions and 169 deletions

View file

@ -122,15 +122,17 @@ class NewsTest extends TestCase
Storage::disk('uploads')->put('news/handyfoto.jpg', UploadedFile::fake()->image('handyfoto.jpg', 4000, 3000)->getContent());
gc_collect_cycles();
// … dann wie auf typischem Shared Hosting mit 128 MB verarbeiten.
$this->assertNotFalse(ini_set('memory_limit', '128M'));
// … dann wie auf typischem Shared Hosting mit 128 MB verarbeiten. Der Test-Prozess
// selbst belegt schon Speicher (viele Tests in einem Lauf), daher 128 MB zusätzlich dazu.
$limit = memory_get_usage(true) + 128 * 1024 * 1024;
$this->assertNotFalse(ini_set('memory_limit', (string) $limit));
NewsPost::factory()->create(['cover_path' => 'news/handyfoto.jpg']);
Storage::disk('uploads')->assertExists('news/handyfoto-large.webp');
Storage::disk('uploads')->assertExists('news/handyfoto-thumb.webp');
ini_set('memory_limit', '128M');
ini_set('memory_limit', '512M');
}
public function test_dashboard_shows_featured_and_latest_news(): void