As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Unverified Commit a0abf567 authored by Ash McKenzie's avatar Ash McKenzie Committed by GitLab
Browse files

Reverse assertion value order

parent 232a02cb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -199,8 +199,8 @@ func setupSSHPull(t *testing.T, uploadPackStatusCode int) string {
defer r.Body.Close()
require.True(t, strings.HasSuffix(string(body), "0009done\n"))
require.Equal(t, r.Header.Get("Git-Protocol"), "version=2")
require.Equal(t, r.Header.Get("Authorization"), "token")
require.Equal(t, "version=2", r.Header.Get("Git-Protocol"))
require.Equal(t, "token", r.Header.Get("Authorization"))
w.Write([]byte("upload-pack-response"))
w.WriteHeader(uploadPackStatusCode)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment