Führe Übungen als Fassungen mit Varianten, Verwendung und Mitgliederausgabe ein
CI Feature / test (push) Successful in 3m32s

Neuer kind 'exercise', Varianten je Fassung, Verwendung (erforderlich/ergänzend) und Variantenauswahl am einbindenden
Mitglied; der Stand schreibt nur gewählte Varianten fest. Änderungsnachweis über structure_hash. Formatierte Anleitung
im Mitgliederbereich und PDF (Fußzeile, Metadaten, Ausgabenachweis, keine gespeicherten Kopien); Sperre trifft nur das
Medium.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-23 16:52:01 +01:00
1 parent ef56befc0e
commit d1f97a351a
26 files changed
+1628 -15

No files matched your search

+3 -2
View File
@@ -36,7 +36,7 @@ class RueckfallschutzTest extends TestCase
{
use RefreshDatabase;
private const FOREIGN = 'exercise';
private const FOREIGN = 'art_von_morgen';
private ContentElementVersion $filmA;
@@ -64,7 +64,8 @@ protected function setUp(): void
public function test_the_kind_values_are_the_ones_this_program_state_knows(): void
{
$this->assertSame(['kombination', 'uebung', 'kurs'], CompositionKind::values());
$this->assertSame(['kombination', 'uebung', 'kurs', 'exercise'], CompositionKind::values());
$this->assertNotContains(self::FOREIGN, CompositionKind::values());
}
public function test_a_composition_of_an_unknown_kind_does_not_crash_loading_and_stays_hidden(): void