Remove legacy Summoner fields
This commit is contained in:
1 parent
38cb97d86a
commit
bc36a8f0f0
3 files changed
+2
-13
No files matched your search
@@ -91,9 +91,8 @@ describe('RiotApiClient', () => {
|
||||
const fetchMock = createFetchMock()
|
||||
.mockResolvedValueOnce(
|
||||
jsonResponse({
|
||||
id: 'summoner-1',
|
||||
puuid: 'puuid/1',
|
||||
profileIconId: 7,
|
||||
puuid: 'puuid/1',
|
||||
summonerLevel: 30,
|
||||
}),
|
||||
)
|
||||
@@ -122,7 +121,7 @@ describe('RiotApiClient', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('accepts current Summoner-V4 by-puuid responses without legacy id fields', async () => {
|
||||
it('accepts current Summoner-V4 by-puuid responses', async () => {
|
||||
const fetchMock = createFetchMock().mockResolvedValue(
|
||||
jsonResponse({
|
||||
profileIconId: 7,
|
||||
|
||||
Reference in new issue
Block a user