-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BE] add mongo tests #14
Comments
MongoDB is so versatile that it is very difficult to mock, and even if mocked, it is not very useful. Therefore, I think it is appropriate to implement |
I started writing unittest of [auth_request.go]. |
* Import google sheet icon * Add import from google drive option * Add import from google drive second view * import google script * Add sheet file icon * Add additional/optional parameters to assets card * Add importing google sheet graphQL changes * Add google sheet import * Fix params * save chages * save changes * Fix scopes * fix picker function * Fix permissions * re-sync dataset data * close modal after import * Change default icon color * Fix typo * abstract styles * Fix message * No need for initial values * Fix conflict * No need for isImage * Add types * re-export type * Remove isImage property Co-authored-by: basel.issmail <[email protected]>
Implement unit tests in
internal/infrastructure/mongo
Refer to reearth/reearth-backend#139 to learn about how to write tests for mongo.
FindByID
unit testing reearth-backend#139)test/project_repo_layer
branch)The text was updated successfully, but these errors were encountered: