From 6118956510744dd6c5b84f2de53c6112f837afed Mon Sep 17 00:00:00 2001 From: Chloe Date: Tue, 2 Jan 2024 01:36:55 +0500 Subject: [PATCH] chore: fix property name --- test/tests/user.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/user.test.ts b/test/tests/user.test.ts index 40381d2..7d87ecd 100644 --- a/test/tests/user.test.ts +++ b/test/tests/user.test.ts @@ -76,7 +76,7 @@ describe('User', () => { describe('getPersonalTags', () => { it("Should return a user's personal tags", async () => { - const data = await client.user.getPersonalTags({ username: 'rj', tag: 'rock', tagType: 'artist' }); + const data = await client.user.getPersonalTags({ username: 'rj', tag: 'rock', taggingtype: 'artist' }); expect(() => UserGetPersonalTagsSchema.parse(data.response)).not.toThrow(); }); @@ -86,7 +86,7 @@ describe('User', () => { const data = await client.user.getPersonalTags({ username: 'sawdesrtyuilk;jjhgf', tag: 'mrrow', - tagType: 'album', + taggingtype: 'album', }); expect(() => UserGetPersonalTagsSchema.parse(data)).toThrow();