refactor: upgrade mongodb from 4.6.0 to 4.7.0 (#8083)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user