File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ func (s *ArgoServerSuite) TestPermission() {
611611 // Test get wf w/ archive fallback with good token
612612 s .bearerToken = goodToken
613613 s .Run ("GetWFsFallbackArchivedGoodToken" , func () {
614- s .e ().GET ("/api/v1/workflows/" + uid ).
614+ s .e ().GET ("/api/v1/workflows/" + nsName ).
615615 WithQuery ("listOptions.labelSelector" , "workflows.argoproj.io/test" ).
616616 Expect ().
617617 Status (200 )
@@ -620,15 +620,15 @@ func (s *ArgoServerSuite) TestPermission() {
620620 // Test get wf w/ archive fallback with bad token
621621 s .bearerToken = badToken
622622 s .Run ("GetWFsFallbackArchivedBadToken" , func () {
623- s .e ().GET ("/api/v1/workflows/" + uid ).
623+ s .e ().GET ("/api/v1/workflows/" + nsName ).
624624 Expect ().
625625 Status (403 )
626626 })
627627
628628 // Test get wf w/ archive fallback with fake token
629629 s .bearerToken = fakeToken
630630 s .Run ("GetWFsFallbackArchivedFakeToken" , func () {
631- s .e ().GET ("/api/v1/workflows/" + uid ).
631+ s .e ().GET ("/api/v1/workflows/" + nsName ).
632632 Expect ().
633633 Status (403 )
634634 })
You can’t perform that action at this time.
0 commit comments