Add comprehensive tests for recursive_copy()

XMLWordPrintableJSON

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

      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
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: