Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KwikKill committed Apr 12, 2024
1 parent 0e0dab9 commit fbf2405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lol_api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('summonersByName', () => {
it('should return a summoner object when given valid input', async () => {
const lolapi = new LolApi();
const riot_account = await lolapi.account_by_riotid(api_key, 'KwikKill', 'Swain', client);
const summoner = await lolapi.summonersByPuuid(api_key, 'EUW1', riot_account.id, client);
const summoner = await lolapi.summonersByPuuid(api_key, 'EUW1', riot_account.puuid, client);
expect(summoner).toHaveProperty('id');
expect(summoner).toHaveProperty('accountId');
expect(summoner).toHaveProperty('puuid');
Expand Down

0 comments on commit fbf2405

Please sign in to comment.