Skip to content

Commit c4d8561

Browse files
committed
fix tests
1 parent d838b5f commit c4d8561

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/argo_server_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
})

0 commit comments

Comments
 (0)