feat(platform): expose deployed release
This commit is contained in:
@@ -14,3 +14,13 @@ func TestLoadReadsRequestTimeout(t *testing.T) {
|
||||
t.Fatalf("RequestTimeout = %s, want 1.2s", cfg.RequestTimeout)
|
||||
}
|
||||
}
|
||||
|
||||
func TestLoadReadsPlatformRelease(t *testing.T) {
|
||||
t.Setenv("PLATFORM_RELEASE", "platform-20260704153005")
|
||||
|
||||
cfg := Load()
|
||||
|
||||
if cfg.PlatformRelease != "platform-20260704153005" {
|
||||
t.Fatalf("PlatformRelease = %q", cfg.PlatformRelease)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user