From 5dd0d196eeab5c11f456ac71f76f5a4228f2be74 Mon Sep 17 00:00:00 2001 From: ssh24 Date: Wed, 2 Aug 2017 11:43:01 -0400 Subject: [PATCH] Validate on updateAll --- test/user.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/user.test.js b/test/user.test.js index d70dc30b..0297cdb7 100644 --- a/test/user.test.js +++ b/test/user.test.js @@ -2615,6 +2615,7 @@ describe('User', function() { }); }, function updatePartialUser(next) { + delete User.validations; User.updateAll( {pk: userPartial.pk}, {age: userPartial.age + 1}, @@ -2713,6 +2714,7 @@ describe('User', function() { }); }, function updateSpecialUser(next) { + delete User.validations; User.updateAll( {name: 'Special'}, {email: 'superspecial@example.com'}, function(err, info) {