fix: GridFS file storage doesn't work with certain enableSchemaHooks settings (#8467)
This commit is contained in:
@@ -55,6 +55,8 @@ describe('FilesController', () => {
|
||||
const config = Config.get(Parse.applicationId);
|
||||
expect(config.database.adapter._mongoOptions.retryWrites).toBeTrue();
|
||||
expect(config.filesController.adapter._mongoOptions.retryWrites).toBeTrue();
|
||||
expect(config.filesController.adapter._mongoOptions.enableSchemaHooks).toBeUndefined();
|
||||
expect(config.filesController.adapter._mongoOptions.schemaCacheTtl).toBeUndefined();
|
||||
});
|
||||
|
||||
it('should create a server log on failure', done => {
|
||||
|
||||
Reference in New Issue
Block a user