Merge pull request #3545 from strongloop/revert-3541-add-validate-updateAll
Revert "Validate on updateAll"
This commit is contained in:
commit
74cbe12918
|
@ -2615,7 +2615,6 @@ describe('User', function() {
|
|||
});
|
||||
},
|
||||
function updatePartialUser(next) {
|
||||
delete User.validations;
|
||||
User.updateAll(
|
||||
{pk: userPartial.pk},
|
||||
{age: userPartial.age + 1},
|
||||
|
@ -2714,7 +2713,6 @@ describe('User', function() {
|
|||
});
|
||||
},
|
||||
function updateSpecialUser(next) {
|
||||
delete User.validations;
|
||||
User.updateAll(
|
||||
{name: 'Special'},
|
||||
{email: 'superspecial@example.com'}, function(err, info) {
|
||||
|
|
Loading…
Reference in New Issue