Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78396

Avoid calling deprecated NamespaceString::db() in unit test code

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • 1

      As we are making NamespaceString::db() private, we should change the unit tests to call a different function, such as `db_forTest()`.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: