feat: --demo stars platform-prod for alice too, and api-key expires soon

This commit is contained in:
keb committed 2026-10-14 21:24:01 +02:00
1 parent 003f149690
commit 593d83fc25
3 files changed
+20 -2

No files matched your search

+4 -1
View File
@@ -322,8 +322,11 @@ Flags:
// Two Azure accounts, like a personal and an admin login in az.
alice, admin := "Azure:alice@example.com/demo", "Azure:admin.alice@example.com/demo"
fake.Seed(st, alice, admin)
az := fake.Azure(400*time.Millisecond).As(alice, "Azure · alice")
// Due soon whenever the demo runs (the tests' dates are fixed).
az.Expire("kv-app-prod", "api-key", time.Now().AddDate(0, 0, 9).Truncate(24*time.Hour))
providers = []provider.Provider{
fake.Azure(400*time.Millisecond).As(alice, "Azure · alice"),
az,
fake.AzureOps(700*time.Millisecond).As(admin, "Azure · admin.alice"),
fake.Databricks(600 * time.Millisecond),
fake.Repos(),