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

Revise test assertion for unknown modifier error message

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.6.0alpha2, 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The following test failure was observed for MongoDB 4.1.x:

      TEST 1487/1750 [tests/manager/manager-executeBulkWrite_error-006.phpt]
       [2019/05/03 14:11:32.524] ========DIFF========
       [2019/05/03 14:11:32.524] 001+ BulkWriteException: Unknown modifier: $foo. Expected a valid update modifier or pipeline-style update specified as an array
       [2019/05/03 14:11:32.524] 001- BulkWriteException: Unknown modifier: $foo
       [2019/05/03 14:11:32.524] 012+   string(103) "Unknown modifier: $foo. Expected a valid update modifier or pipeline-style update specified as an array"
       [2019/05/03 14:11:32.524] 012-   string(22) "Unknown modifier: $foo"
       [2019/05/03 14:11:32.524] 020+ writeError[0].message: Unknown modifier: $foo. Expected a valid update modifier or pipeline-style update specified as an array
       [2019/05/03 14:11:32.524] 020- writeError[0].message: Unknown modifier: $foo
       [2019/05/03 14:11:32.524] ========DONE========
       [2019/05/03 14:11:32.524] FAIL MongoDB\Driver\Manager::executeBulkWrite() update write error [tests/manager/manager-executeBulkWrite_error-006.phpt]
       [2019/05/03 14:11:32.813] TEST 1488/1750 [tests/manager/manager-executeBulkWrite_error-007.phpt]
      

            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: