Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Haytham Abuelfutuh <[email protected]>
  • Loading branch information
EngHabu committed Feb 27, 2021
1 parent 28ff50d commit 150bc21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/auth/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func TestGetMetadataEndpointRedirectHandler(t *testing.T) {
mockAuthCtx := mocks.AuthenticationContext{}
mockAuthCtx.On("GetBaseURL").Return(baseURL)
mockAuthCtx.On("GetMetadataURL").Return(metadataPath)
handler := GetMetadataEndpointRedirectHandler(ctx, &mockAuthCtx)
handler := GetOAuth2MetadataEndpointRedirectHandler(ctx, &mockAuthCtx)
req, err := http.NewRequest("GET", "/xyz", nil)
assert.NoError(t, err)
w := httptest.NewRecorder()
Expand Down
1 change: 1 addition & 0 deletions pkg/rpc/config/flyte_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ func TestHandleFlyteCliConfigFunc(t *testing.T) {
clientID: testClientID,
redirectURI: testRedirectURI,
authMetadataKey: testAuthMetadataKey,
scopes: "",
}, responseBodyMap)
}

0 comments on commit 150bc21

Please sign in to comment.