Mongoid config is more forgiving

Description

This PR does the following

  • Use `.blank?` to gracefully handle the case that the user may accidentally runs `export MONGOID_AUTH_MECH=""`

  • Enable authentication for mongo in test environment.

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Michael Lin

Repo

edx/cs_comments_service

Customer

None

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

edX Theme

None

edX Squad

None

Github Lines Added

7

Github Lines Deleted

2

Priority

Unset