Skip to content

Commit

Permalink
chore: fix property name
Browse files Browse the repository at this point in the history
  • Loading branch information
SapphicMoe committed Jan 1, 2024
1 parent f319844 commit 6118956
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand All @@ -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();
Expand Down

0 comments on commit 6118956

Please sign in to comment.