Let editors define FAQ topics freely instead of a hard-coded map
This commit is contained in:
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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user