refactor: Parse Pointer allows to access internal Parse Server classes and circumvent beforeFind query trigger (#8734)

This commit is contained in:
Manuel
2023-09-04 16:01:22 +02:00
committed by GitHub
parent d6b17baa32
commit 739ffbed86
12 changed files with 423 additions and 230 deletions

View File

@@ -142,7 +142,7 @@ describe('Parse Role testing', () => {
return Promise.all(promises);
};
const restExecute = spyOn(RestQuery.prototype, 'execute').and.callThrough();
const restExecute = spyOn(RestQuery._UnsafeRestQuery.prototype, 'execute').and.callThrough();
let user, auth, getAllRolesSpy;
createTestUser()