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

Revise test assertion for unknown modifier error message

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0, 1.6.0alpha2
    • Labels:
      None

      Description

      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]
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: