Pflege Übungen im Aufbauarbeitsplatz und weise Verwendung und Sperrfolgen nach
CI Feature / test (push) Successful in 2m34s
CI Feature / test (push) Successful in 2m34s
Eigener Eintrag Übungen unter Inhalte (Bestand, Anlegen, gemeinsamer Aufbau mit Varianten, Verwendung und Variantenauswahl im Modul und Programm), Verwendungsnachweis über verschachtelte und ältere Stände, Auswirkungsbericht einer Mediensperre, gesperrte Bestandteile verhindern die Angebotsaktivierung, Vorschaubilder gesperrter Medien werden nicht mehr ausgeliefert, Rückfalltest gegen die Daten des neuen Stands. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d1f97a351a
commit
bbee288e69
22 files changed
+1104
-26
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
use App\Domain\Catalog\ArticleRelease;
|
||||
use App\Domain\Catalog\ArticleService;
|
||||
use App\Domain\Catalog\CompositionDisplayRelease;
|
||||
use App\Domain\Catalog\CompositionKind;
|
||||
use App\Domain\Catalog\ContentService;
|
||||
use App\Domain\Catalog\ExerciseGuide;
|
||||
@@ -75,6 +76,23 @@ public function test_the_trainer_reads_the_bound_version_with_the_offered_varian
|
||||
->assertDontSee('Variante A: Der Film zeigt die Situation.');
|
||||
}
|
||||
|
||||
public function test_the_module_page_leads_to_the_bound_exercise_not_to_the_newest_one(): void
|
||||
{
|
||||
$display = app(CompositionDisplayRelease::class);
|
||||
$display->release($this->moduleRelease->rootCompositionVersion, $this->member);
|
||||
$display->release($this->programRelease->rootCompositionVersion, $this->member);
|
||||
|
||||
$this->actingAs($this->member)
|
||||
->get(route('member.program', $this->moduleRelease->rootCompositionVersion->composition_id))
|
||||
->assertOk()
|
||||
->assertSee(route('member.exercise', ['article' => $this->moduleArticle, 'release' => $this->moduleRelease, 'path' => '1']), false);
|
||||
|
||||
$this->actingAs($this->member)
|
||||
->get(route('member.program', $this->programRelease->rootCompositionVersion->composition_id))
|
||||
->assertOk()
|
||||
->assertSee(route('member.exercise', ['article' => $this->programArticle, 'release' => $this->programRelease, 'path' => '1']), false);
|
||||
}
|
||||
|
||||
public function test_the_pdf_carries_the_same_version_the_marking_and_the_delivery_record(): void
|
||||
{
|
||||
$response = $this->actingAs($this->member)->get($this->pdf($this->moduleArticle, $this->moduleRelease, 'a'));
|
||||
|
||||
Reference in new issue
Block a user