Lege einen wiederholbaren Pruefbestand fuer die Bibliothek an
Deploy Test / test (push) Successful in 17s
Deploy Test / deploy (push) Successful in 22s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 08:36:06 +01:00
1 parent c99a957e6f
commit abcdc6908e
3 files changed
+97 -1

No files matched your search

+11
View File
@@ -3,6 +3,7 @@
namespace Tests\Feature;
use App\Domain\Catalog\ArticleService;
use App\Domain\Catalog\Composition;
use App\Domain\Catalog\CompositionDisplayRelease;
use App\Domain\Catalog\ContentService;
use App\Domain\Catalog\EditorialContentKind;
@@ -62,4 +63,14 @@ public function test_didactic_fields_partial_coverage_and_public_page_follow_the
$this->get('/medien/bibliothek/geheim.jpg')->assertNotFound();
}
public function test_review_fixture_can_be_repeated(): void
{
$actor = User::factory()->create();
$this->artisan('library:review-fixture', ['--actor' => $actor->id])->assertSuccessful();
$this->artisan('library:review-fixture', ['--actor' => $actor->id])->assertSuccessful();
$this->assertSame(1, Composition::query()->where('designation', 'Prüfprogramm Abstand')->count());
}
}