Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6581

Remove deprecated field from GridFS unified tests

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

      Spec tests for the GridFS spec have been updated to no longer include the deprecated md5, contentType, and aliases fields. The tests in question don't assert driver behaviour but only include values in the initial documents, which are then re-used in outcome assertions.

      Additionally, a test verifying that a contentType provided during an upload operation is correctly stored in the document. If your driver still supports this deprecated field, you will want to keep this particular test around until the behaviour is removed.

      To update, sync the gridfs spec tests to commit 12be2dfab99bdad54c3499174b0519ddb4588332.

      Show
      Spec tests for the GridFS spec have been updated to no longer include the deprecated md5 , contentType , and aliases fields. The tests in question don't assert driver behaviour but only include values in the initial documents, which are then re-used in outcome assertions. Additionally, a test verifying that a contentType provided during an upload operation is correctly stored in the document. If your driver still supports this deprecated field, you will want to keep this particular test around until the behaviour is removed. To update, sync the gridfs spec tests to commit 12be2dfab99bdad54c3499174b0519ddb4588332 .

      This ticket was split from DRIVERS-2976, please see that ticket for a detailed description.

            Assignee:
            Unassigned Unassigned
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: