Remove legacy steamcmd and SCUM runtime coupling
This commit is contained in:
@@ -65,7 +65,7 @@ func TestLoadUsesPackagedIdentityOverEnvironment(t *testing.T) {
|
||||
}()
|
||||
|
||||
BuildMode = "worker"
|
||||
BuildPlatformURL = "https://scum.npc0.com"
|
||||
BuildPlatformURL = "https://platform.example.test"
|
||||
BuildRunEndpointID = "run-server-1"
|
||||
BuildDisplayName = "Run-server-1"
|
||||
BuildRegistrationToken = "compiled-run-key"
|
||||
@@ -80,7 +80,7 @@ func TestLoadUsesPackagedIdentityOverEnvironment(t *testing.T) {
|
||||
t.Setenv(key, "")
|
||||
}
|
||||
cfg := Load()
|
||||
if cfg.Mode != "worker" || cfg.PlatformURL != "https://scum.npc0.com" || cfg.RunEndpointID != "run-server-1" || cfg.RegistrationToken != "compiled-run-key" || cfg.ServerInstanceID != "server-1" || cfg.PluginID != "game.scum" || cfg.ComponentKind != "run" || cfg.KeyGeneration != 5 || cfg.Version != "run-dist-1" || cfg.WorkspaceSeed != "seed-payload" {
|
||||
if cfg.Mode != "worker" || cfg.PlatformURL != "https://platform.example.test" || cfg.RunEndpointID != "run-server-1" || cfg.RegistrationToken != "compiled-run-key" || cfg.ServerInstanceID != "server-1" || cfg.PluginID != "game.scum" || cfg.ComponentKind != "run" || cfg.KeyGeneration != 5 || cfg.Version != "run-dist-1" || cfg.WorkspaceSeed != "seed-payload" {
|
||||
t.Fatalf("expected compiled defaults, got %+v", cfg)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user