From a6012693c8f13b06f159f5857353c20d77e1f19f Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Wed, 3 Aug 2022 12:00:26 +0200 Subject: [PATCH] Update spec/DefinedSchemas.spec.js --- spec/DefinedSchemas.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/DefinedSchemas.spec.js b/spec/DefinedSchemas.spec.js index 119630b70c..b4e7429518 100644 --- a/spec/DefinedSchemas.spec.js +++ b/spec/DefinedSchemas.spec.js @@ -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);