We're updating the issue view to help you get more done. 

Test native mapping of GridFS in MongoDB

Description

In the package `org.hibernate.ogm.datastore.mongodb.test.mapping` we have tests for the mapping on MongoDB. We need something similar for GridFS.

We need to test that only the expected collection is created, with and without the use of `@GridFSBucket` and that the <something_bucket>.files collection contains the expected filename attribute.

Environment

None

Status

Assignee

Yauhen Bedunkevich

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Minor