17 Commits

Author SHA1 Message Date
Jeremy Mikola d5f41f659d PHPC-411: Drop system.profile collection before tests 2017-03-15 10:44:45 -04:00
Jeremy Mikola e6b8479506 Reorganize SKIPIF blocks in tests and add missing NEEDS() checks 2017-03-15 10:41:04 -04:00
Jeremy Mikola b7dbc99be7 PHPC-805: Query "partial" option is now "allowPartialResults" 2016-10-20 16:07:26 -04:00
Jeremy Mikola 97a26a18e7 Remove unnecessary SKIPIFs from extends tests 2016-09-21 16:32:39 -04:00
Jeremy Mikola 5c1ca63957 Use EXPECTF pattern for stdClass ID 2016-09-21 15:33:53 -04:00
Jeremy Mikola 8d70686031 PHPC-705: Regression tests for superfluous $query wrapping 2016-09-21 12:09:46 -04:00
Jeremy Mikola d6d4b1eeb4 PHPC-734: Query "collation" option 2016-09-20 16:57:20 -04:00
Jeremy Mikola f37f589bbc PHPC-783: Use mongoc_collection_find_with_opts() for Query exec
Query struct fields have been consolidated to a filter and opts BSON documents.

This also changes the Query debug output significantly.
2016-09-20 16:57:20 -04:00
Jeremy Mikola 7f485f921e PHPC-761: Tests can rely on MongoDB\BSON namespace 2016-08-05 14:06:58 -04:00
Jeremy Mikola b6c9b45add PHPC-550: Always encode ODS field when serializing Persistable documents
The modified ODS tests return atomic modifiers through bsonSerialize(), which conflicts with __pclass injection (the resulting newObj is neither an update nor a replacement document). Rather than delete these tests, we'll mark them as expecting failure until we allow such functionality in another interface down the line.
2016-02-15 12:49:00 -05:00
Jeremy Mikola 08394895f5 Fix test title 2016-02-15 12:49:00 -05:00
Jeremy Mikola 20e601a853 PHPC-539: Include read concern in Query debug output 2016-02-10 10:37:51 -05:00
Jeremy Mikola 2fa57d7d05 Regression test for extending final classes 2016-02-09 15:25:14 -05:00
Derick Rethans 8e61bb78a5 Skip and fix test for HHVM with ReadConcerns 2016-01-12 16:43:03 +00:00
Derick Rethans c0d4f60a1d Fixed issues with PHP 7 and the new ReadConcern 2015-12-18 16:15:40 +00:00
Jeremy Mikola 12e6907e41 PHPC-448: Support readConcern option on Query 2015-12-11 15:22:55 -05:00
Jeremy Mikola c601054ea4 PHPC-430: Regression tests for Query arg corruption 2015-09-23 14:50:57 -04:00