From cce7c0d384c5c3f4ca5991845cf71972f95d8cf1 Mon Sep 17 00:00:00 2001 From: Oliver Feldmann Date: Wed, 29 Nov 2023 12:29:29 +0100 Subject: [PATCH] Use new env var (#4698) --- integration/integration_tms_export_test.go | 4 ++-- integration/integration_tms_upload_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/integration/integration_tms_export_test.go b/integration/integration_tms_export_test.go index 8ee561708f..f661a89b47 100644 --- a/integration/integration_tms_export_test.go +++ b/integration/integration_tms_export_test.go @@ -19,7 +19,7 @@ func TestTmsExportIntegrationYaml(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -41,7 +41,7 @@ func TestTmsExportIntegrationBinFailDescription(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) diff --git a/integration/integration_tms_upload_test.go b/integration/integration_tms_upload_test.go index e7b93dc7b3..b240e2bb9c 100644 --- a/integration/integration_tms_upload_test.go +++ b/integration/integration_tms_upload_test.go @@ -32,7 +32,7 @@ func TestTmsUploadIntegrationBinSuccess(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -58,7 +58,7 @@ func TestTmsUploadIntegrationBinNoDescriptionSuccess(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -105,7 +105,7 @@ func TestTmsUploadIntegrationBinFailDescription(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t) @@ -126,7 +126,7 @@ func TestTmsUploadIntegrationYaml(t *testing.T) { Image: "devxci/mbtci-java11-node14", User: "root", TestDir: []string{"testdata", "TestTmsIntegration"}, - Environment: map[string]string{"PIPER_tmsServiceKey": tmsServiceKey}, + Environment: map[string]string{"PIPER_serviceKey": tmsServiceKey}, }) defer container.terminate(t)