mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Convert test UUID to string to avoid test error (#8195)
This commit is contained in:
committed by
Blade Barringer
parent
7cf17c0e63
commit
431bde56d2
@@ -18,7 +18,7 @@ describe('shared.ops.blockUser', () => {
|
||||
|
||||
it('validates uuid', (done) => {
|
||||
try {
|
||||
blockUser(user, { params: { uuid: 1 } });
|
||||
blockUser(user, { params: { uuid: '1' } });
|
||||
} catch (error) {
|
||||
expect(error.message).to.eql(i18n.t('invalidUUID'));
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user