Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1248

Add test to ensure that URI constant is successfully parsed

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Per this comment in mongodb/mongo-php-driver#887:

      I'll note that tests/session/session_error-001.phpt only failed because we've yet to remove the new Manager(URI) bit in https://github.com/mongodb/mongo-php-driver/pull/886/files#diff-d25ed7ef0c41dba8d45f80a9aeb26cb1R7. That highlights the fact that we should have a test that doesn't talk to the server but does attempt to successfully parse the URI.

      We should add a single test that constructs a Manager using the URI constant for the express purpose of validating it.

            Assignee:
            derick Derick Rethans
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: