Skip to content

Commit

Permalink
fixup! cloud: Increased the test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien committed May 16, 2023
1 parent 8b9e311 commit ae23d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions output/cloud/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ 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"},
})
require.NoError(t, err)

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) {
Expand Down

0 comments on commit ae23d28

Please sign in to comment.