Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1150

Refactor tests using object comparison for ReadConcern/ReadPreference/WriteConcern

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None

      After PHPC-2234.

      The instances of ReadConcern/ReadPreference/WriteConcern can be compared directly. Use this capability to refactor tests like https://github.com/mongodb/mongo-php-library/blob/118f08409fec7ce8be8664dc7bea0803842f8d2c/tests/Collection/CollectionFunctionalTest.php#L386-L393

            Assignee:
            Unassigned Unassigned
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: