Jeremy Mikola
0dd057d4d7
PHPC-849: Fix leaking of current element in setTypeMap()
2016-12-12 12:59:00 -05:00
Jeremy Mikola
97a26a18e7
Remove unnecessary SKIPIFs from extends tests
2016-09-21 16:32:39 -04:00
Jeremy Mikola
7f485f921e
PHPC-761: Tests can rely on MongoDB\BSON namespace
2016-08-05 14:06:58 -04:00
Jeremy Mikola
ee751dc027
Test cursor iteration beyond last document for CDRIVER-1234
2016-06-02 18:35:28 -04:00
Jeremy Mikola
a327a22cb8
Merge branch 'v1.1'
2016-06-02 11:20:03 -04:00
Jeremy Mikola
05fcc2ea4f
PHPC-671: Avoid mongoc_client_t use-after-free by Cursor and Server
2016-05-31 15:10:53 -04:00
Jeremy Mikola
c0046a3e63
PHPC-673: Fix Cursor::isDead() tests for mongoc_cursor_is_alive()
...
This changes our tests based on upstream fixes for mongoc_cursor_is_alive() in CDRIVER-1221.
2016-05-17 16:12:13 -04:00
Jeremy Mikola
2fa57d7d05
Regression test for extending final classes
2016-02-09 15:25:14 -05:00
Jeremy Mikola
44ee3a346a
PHPC-450: failReceivedGetmore does not support getMore commands
...
The fail point used in this test does not yet support 3.2's getMore command, so this must be run on 3.0 (or earlier). See: SERVER-21831
This change also splits the test into query/command variants, corrects the title (which was apparently copied from cursor-getmore-004.phpt), and removes the use of data fixtures (small documents inserted within the test work just fine for its purposes).
2015-12-10 12:16:36 -05:00
Jeremy Mikola
a2e3b47f60
PHPC-450: Update open cursor check for MongoDB 3.2
2015-12-10 12:16:36 -05:00
Jeremy Mikola
fe9fb63267
PHPC-465: Remove Manager's single write methods
...
Existing tests for single write methods were ported to executeBulkWrite() tests.
2015-10-21 19:32:42 -04:00
Derick Rethans
485b4866f0
Disable the test for a double wrap with IteratorIterator()
...
In HHVM, I can not detect this as there is no concept of running get_iterator()
on an object.
2015-09-02 18:07:41 +01:00
Hannes Magnusson
640c9b232e
Make the relative path work
2015-08-03 13:57:22 -07:00
Jeremy Mikola
6eb0944565
PHPC-319: Convert top-level documents to stdClass by default
...
Update tests to expect stdClass for documents. Debug handlers and the Server getter methods will still decode documents as native arrays.
2015-07-11 00:38:05 -04:00
Hannes Magnusson
4ab595ef54
PHPC-304: Enable the test again -- and fix typo in the clean section!
2015-07-07 13:00:49 -07:00
Hannes Magnusson
ed1cd1e30b
PHPC-309: Bump tests
2015-06-30 10:04:36 -07:00
Jeremy Mikola
00711aa657
PHPC-308: Skip getmore test until libmongoc issues are resolved
2015-06-29 14:30:16 -04:00
Hannes Magnusson
f41dc80601
PHPC-308: Failed getmore should throw exception
2015-06-09 16:12:43 -07:00
Hannes Magnusson
d1e05c2e90
Organize cursor tests
2015-05-22 11:50:32 -07:00