Fix some stuff
This commit is contained in:
@@ -238,6 +238,7 @@ describe('SchemaController', () => {
|
||||
});
|
||||
Promise.all([p1,p2])
|
||||
.catch(error => {
|
||||
console.log(error);
|
||||
expect(error.code).toEqual(Parse.Error.INVALID_CLASS_NAME);
|
||||
expect(error.message).toEqual('Class NewClass already exists.');
|
||||
done();
|
||||
@@ -693,7 +694,7 @@ describe('SchemaController', () => {
|
||||
objectId: { type: 'String' },
|
||||
updatedAt: { type: 'Date' },
|
||||
createdAt: { type: 'Date' },
|
||||
ACL: { type: 'ACL' }
|
||||
ACL: { type: 'ACL' },
|
||||
};
|
||||
expect(dd(schema.data.NewClass, expectedSchema)).toEqual(undefined);
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user