Skip to content

Commit

Permalink
Fix test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
James Rucker committed Mar 29, 2021
1 parent b44ce7f commit f486a0e
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,12 @@ describe('AddSourceLogic', () => {
AddSourceLogic.actions.getSourceReConnectData('github');

expect(http.get).toHaveBeenCalledWith(
'/api/workplace_search/org/sources/github/reauth_prepare'
'/api/workplace_search/org/sources/github/reauth_prepare',
{
query: {
kibana_host: '',
},
}
);
await nextTick();
expect(setSourceConnectDataSpy).toHaveBeenCalledWith(sourceConnectData);
Expand Down Expand Up @@ -648,7 +653,12 @@ describe('AddSourceLogic', () => {
AddSourceLogic.actions.getSourceReConnectData('123');

expect(http.get).toHaveBeenCalledWith(
'/api/workplace_search/account/sources/123/reauth_prepare'
'/api/workplace_search/account/sources/123/reauth_prepare',
{
query: {
kibana_host: '',
},
}
);
});

Expand Down

0 comments on commit f486a0e

Please sign in to comment.