Skip to content

Commit

Permalink
INT - fix for failing tests (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekschauhan authored Aug 10, 2023
1 parent 9b23096 commit 53dfbfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/agent/handler/accessrequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func TestAccessRequestHandler_deleting(t *testing.T) {
expectedAPIID: instRefID,
expectedAppName: managedAppRefName,
expectedAccessDetails: util.GetAgentDetails(&ar),
expectedAppDetails: map[string]interface{}{},
expectedAppDetails: util.GetAgentDetails(mApp),
expectedStatus: mock.MockRequestStatus{
Status: tc.outboundStatus,
Msg: "msg",
Expand Down
4 changes: 2 additions & 2 deletions pkg/agent/handler/credential_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func TestCredentialHandler_deleting(t *testing.T) {
"status_key": "status_val",
},
},
expectedAppDetails: map[string]interface{}{},
expectedAppDetails: util.GetAgentDetails(mApp),
expectedCredDetails: util.GetAgentDetails(&cred),
expectedManagedApp: credAppRefName,
expectedCredType: cred.Spec.CredentialRequestDefinition,
Expand Down Expand Up @@ -573,7 +573,7 @@ func TestIDPCredentialDeprovisioning(t *testing.T) {
"status_key": "status_val",
},
},
expectedAppDetails: map[string]interface{}{},
expectedAppDetails: util.GetAgentDetails(mApp),
expectedCredDetails: util.GetAgentDetails(&cred),
expectedManagedApp: credAppRefName,
expectedCredType: cred.Spec.CredentialRequestDefinition,
Expand Down

0 comments on commit 53dfbfd

Please sign in to comment.