mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +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) => {
|
it('validates uuid', (done) => {
|
||||||
try {
|
try {
|
||||||
blockUser(user, { params: { uuid: 1 } });
|
blockUser(user, { params: { uuid: '1' } });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
expect(error.message).to.eql(i18n.t('invalidUUID'));
|
expect(error.message).to.eql(i18n.t('invalidUUID'));
|
||||||
done();
|
done();
|
||||||
|
|||||||
Reference in New Issue
Block a user