• Jeremy Mikola's avatar
    Fix ObjectID and other type equality assertions for HHVM · 4078d0a6
    Jeremy Mikola authored
    HHVM does not support comparing ObjectIDs with the equality operator (i.e. `==`). For documents, which may contain arbitrary BSON types, converting to JSON is the easiest solution. The documents will then be compared as extended JSON and produce a readable diff on error.
    4078d0a6
FunctionalTestCase.php 4.6 KB