refactor: upgrade mongodb from 4.6.0 to 4.7.0 (#8083)

This commit is contained in:
Snyk bot
2022-09-03 11:22:42 +02:00
committed by GitHub
parent f821dfd02a
commit 149884fe3e
4 changed files with 9 additions and 9 deletions

View File

@@ -438,7 +438,7 @@ describe_only_db('mongo')('GridFSBucket', () => {
await db.admin().serverStatus();
expect(false).toBe(true);
} catch (e) {
expect(e.message).toEqual('MongoClient must be connected to perform this operation');
expect(e.message).toEqual('Client must be connected before running operations');
}
});
});

View File

@@ -283,7 +283,7 @@ describe_only_db('mongo')('MongoStorageAdapter', () => {
await adapter.database.admin().serverStatus();
expect(false).toBe(true);
} catch (e) {
expect(e.message).toEqual('MongoClient must be connected to perform this operation');
expect(e.message).toEqual('Client must be connected before running operations');
}
});