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

Add comprehensive tests for recursive_copy()

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:

      This came up in mongodb/mongo-php-library#1135 for PHPLIB-1181:

      This test makes me realize that we don't actually have any tests for MongoDB\recursive_copy(). I suppose the best test there would be to recursively walk the original and cloned values and then assert all the all objects are equal but not identical.

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

              Created:
              Updated: