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

Assert upsertedIds field in bulkWrite CRUD spec tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.3.0
    • Component/s: None
    • None

      The test harness for CRUD spec tests incorrectly checks for an "upsertedId" field in the result for a bulk write. This should be checking for "upsertedIds" instead.

      This bug dates back to 762b6e9 for PHPLIB-295; however, it went unnoticed as the only bulk write tests at the time were for arrayFilters and did not perform upserts.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: