Skip to content

Commit

Permalink
test: replace usage of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Jul 10, 2023
1 parent 06518e7 commit deb7566
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("api.github.com", () => {
.then((response) => {
expect(response.data.length).toEqual(1);

return githubUserB.repos.acceptInvitation({
return githubUserB.repos.acceptInvitationForAuthenticatedUser({
invitation_id: response.data[0].id,
});
})
Expand Down

0 comments on commit deb7566

Please sign in to comment.