Assert upsertedIds field in bulkWrite CRUD spec tests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.3.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: