• 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
Name
Last commit
Last update
..
Collection Loading commit data...
Database Loading commit data...
GridFS Loading commit data...
Model Loading commit data...
Operation Loading commit data...
ClientFunctionalTest.php Loading commit data...
ClientTest.php Loading commit data...
FunctionalTestCase.php Loading commit data...
FunctionsTest.php Loading commit data...
PedantryTest.php Loading commit data...
TestCase.php Loading commit data...
bootstrap.php Loading commit data...