move check from classRouter to Schema.js
This commit is contained in:
@@ -108,7 +108,7 @@ describe('Parse Role testing', () => {
|
||||
.then((r) => {
|
||||
fail("_Role object should not save without name.");
|
||||
}, (error) => {
|
||||
expect(error.code).toEqual(135);
|
||||
expect(error.code).toEqual(111);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user