From f7afe5c0856d130bbad995c4ecc3d3d1c18e53f6 Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Sun, 29 May 2016 11:56:54 -0400 Subject: [PATCH] small nit --- src/__tests__/ParseObject-test.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/__tests__/ParseObject-test.js b/src/__tests__/ParseObject-test.js index 8c62570eb..0407602fd 100644 --- a/src/__tests__/ParseObject-test.js +++ b/src/__tests__/ParseObject-test.js @@ -864,10 +864,6 @@ describe('ParseObject', () => { o.save({ key: 'value', deletedKey: 'keyToDelete' }).then(() => { expect(o.get('key')).toBe('value'); expect(o.get('deletedKey')).toBeUndefined(); - o = new ParseObject('Item'); - return o.save({ ACL: 'not an acl' }); - }).then(null, (error) => { - expect(error.code).toBe(-1); done(); }); }));