fix: use default IM tenant

This commit is contained in:
richjohnrambo
2026-10-19 11:28:15 +08:00
parent 1c11c0fa82
commit 355d59813b
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -11,6 +11,9 @@ func TestDefaultConfigUsesOlonsAdmin(t *testing.T) {
if err := cfg.validate(); err != nil {
t.Fatal(err)
}
if cfg.IM.TenantCode != "default" {
t.Fatalf("unexpected default IM tenant: %q", cfg.IM.TenantCode)
}
}
func TestConfigRejectsOtherDatabase(t *testing.T) {