Skip to content

Commit

Permalink
Update spec/DefinedSchemas.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Aug 3, 2022
1 parent de6599c commit a601269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/DefinedSchemas.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ describe('DefinedSchemas', () => {
});
expect(definedSchema.isProtectedIndex('_User', 'test')).toEqual(false);
});

it('should detect protected indexes for _Role class', () => {
const definedSchema = new DefinedSchemas({}, {});
expect(definedSchema.isProtectedIndex('_Role', 'name_1')).toEqual(true);
Expand Down

0 comments on commit a601269

Please sign in to comment.