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
@@ -317,12 +317,12 @@ public sealed class PocketBaseFixture : IAsyncLifetime
|
||||
await CreateRecordAsync(http, "faqs", new
|
||||
{
|
||||
question = "Wann gibt es Mittagessen?", answer = "Um 12 Uhr.",
|
||||
topic = "mensa", @public = true,
|
||||
topic = "Mensa und Mittagessen", @public = true,
|
||||
});
|
||||
await CreateRecordAsync(http, "faqs", new
|
||||
{
|
||||
question = "Wie viel kostet ein Schließfach?", answer = "20 Euro.",
|
||||
topic = "schliessfach", @public = true,
|
||||
topic = "Schließfächer", @public = true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user