Convert test UUID to string to avoid test error (#8195)

This commit is contained in:
Romeeka Gayhart
2016-11-05 21:53:11 -06:00
committed by Blade Barringer
parent 7cf17c0e63
commit 431bde56d2

View File

@@ -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();