fix: Required option not handled correctly for special fields (File, GeoPoint, Polygon) on GraphQL API mutations (#8915)

This commit is contained in:
Antoine Cormouls
2024-03-20 23:32:56 +01:00
committed by GitHub
parent 6fb19bd83a
commit 907ad4267c
3 changed files with 75 additions and 10 deletions

View File

@@ -964,7 +964,7 @@ describe('Auth Adapter features', () => {
allowExpiredAuthDataToken: false,
});
logger = require('../lib/logger').logger;
spyOn(logger, 'error').and.callFake(() => { });
spyOn(logger, 'error').and.callFake(() => {});
user = new Parse.User();
await user.save({ authData: { modernAdapter: { id: 'modernAdapter' } } });
const user2 = new Parse.User();