Skip to content

Commit 81fcf92

Browse files
author
Claire Neveu
committed
Update test
1 parent 429f886 commit 81fcf92

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

spec/schemas.spec.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,19 +1869,7 @@ describe('schemas', () => {
18691869
}
18701870
}
18711871
}, (error, response, body) => {
1872-
expect(body).toEqual({
1873-
className: 'NewClass',
1874-
fields: {
1875-
ACL: {type: 'ACL'},
1876-
createdAt: {type: 'Date'},
1877-
updatedAt: {type: 'Date'},
1878-
objectId: {type: 'String'}
1879-
},
1880-
classLevelPermissions: defaultClassLevelPermissions,
1881-
indexes: {
1882-
name1: { createdAt: 1},
1883-
},
1884-
});
1872+
expect(body.indexes.name1).toEqual({ createdAt: 1});
18851873
done();
18861874
});
18871875
})

0 commit comments

Comments
 (0)