From 84057990bec3106f3cd78f63a0232dc336b38f48 Mon Sep 17 00:00:00 2001 From: Ivan <2103732+codebien@users.noreply.github.com> Date: Tue, 16 May 2023 10:23:06 +0200 Subject: [PATCH] fixup! cloud: Increased the test coverage --- output/cloud/output_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/output/cloud/output_test.go b/output/cloud/output_test.go index 5e37dd6d77d..3be6b872166 100644 --- a/output/cloud/output_test.go +++ b/output/cloud/output_test.go @@ -142,7 +142,7 @@ func TestOutputStartVersionError(t *testing.T) { SystemTags: &metrics.DefaultSystemTagSet, }, Environment: map[string]string{ - "K6_CLOUD_API_VERSION": "3", + "K6_CLOUD_API_VERSION": "99", }, ScriptPath: &url.URL{Path: "/script.js"}, }) @@ -150,7 +150,7 @@ func TestOutputStartVersionError(t *testing.T) { o.referenceID = "123" err = o.startVersionedOutput() - require.ErrorContains(t, err, "v3 is an unexpected version") + require.ErrorContains(t, err, "v99 is an unexpected version") } func TestOutputStartWithReferenceID(t *testing.T) {