Let editors define FAQ topics freely instead of a hard-coded map

This commit is contained in:
tleininger committed 2026-09-24 14:49:15 +02:00
1 parent 01d25eb04b
commit c7c55c0c6c
8 files changed
+26 -32

No files matched your search

@@ -111,7 +111,7 @@ public sealed class PocketBaseClientTests(PocketBaseFixture pocketBase)
var faqs = await client.GetFaqsAsync();
faqs.Select(f => f.Topic).ShouldBe(["mensa", "schliessfach"], ignoreOrder: true);
faqs.Select(f => f.Topic).ShouldBe(["Mensa und Mittagessen", "Schließfächer"], ignoreOrder: true);
faqs.ShouldAllBe(f => !string.IsNullOrWhiteSpace(f.Question));
}
}