Jeremy Mikola
b54a8bf05b
PHPC-450: Split query tests for OP_QUERY and find command
...
This also entails a change to done/end_of_event cursor field assertions. These are internal libmongoc cursor fields and their values aren't relevant to the tests. In the future, we may consider removing them from the Cursor's dump output.
2015-12-10 12:16:36 -05:00
Hannes Magnusson
49225e1dc7
PHPC-495: Upgrade bundled libbson and libmongoc to 1.3.0
2015-12-02 18:11:46 +00: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
Hannes Magnusson
4d6157fb78
$readPreferences should not be sent to standalone server
2015-10-01 15:22:06 -04:00
Jeremy Mikola
686503f3e9
Revise ReadPreference constructor error messages
2015-09-16 17:37:14 -04:00
Jeremy Mikola
27ee04ff88
PHPC-418: Getters for ReadPreference properties
2015-09-16 17:37:13 -04:00
Jeremy Mikola
f5a0a534aa
Use valid tag sets in ReadPreference tests
2015-09-16 17:37:13 -04:00
Jeremy Mikola
f561cf5f8e
Rename ReadPreference tests and split constructor error test
2015-09-16 17:37:13 -04: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
Jeremy Mikola
c7b7891697
PHPC-240: Rely on libmongoc for command cursor iteration
...
libmongoc already provides a mechanism to upgrade a cursor with a single command result document into a command cursor, which will seamlessly iterate through the first batch and documents returned by successive getmore ops.
This allows us to remove our own "first batch" handling and simplify the move_forward and rewind iteration handlers.
2015-04-21 14:23:16 -04:00
Jeremy Mikola
66193e83bc
PHPC-224: Consolidate Result and Cursor classes into one
...
This class is now simply Traversable (no longer IteratorAggregate) and adds isDead() and getId() methods from the original Cursor class.
2015-04-06 15:45:19 -04:00
Hannes Magnusson
227e7842cb
Use absolute paths in skipifs too
2015-03-25 14:08:39 -07:00
Hannes Magnusson
1cce49d21c
Use absolute paths on in tests so they can run easier on windows
2015-03-25 13:32:09 -07:00
Hannes Magnusson
5f8d990b53
PHPC-24 PHPC-77 PHPC-69 Provide a functioning Server object
2015-03-20 11:33:46 -07:00
Hannes Magnusson
3efb11c140
PHPC-180: Rename constant and pass the cleanup uri explicitly
...
- Use the new connection string constant that includes auth
- Call the cleanup routines explicitly when needed
2015-03-16 20:30:15 -07:00
Hannes Magnusson
4acca269c2
This is a Manager, not MongoClient
2015-02-19 13:59:50 -08:00
Hannes Magnusson
a9823e706f
Ignore me. Trim trailing space
...
This has been annoying me for a long time, especially the '<?php '
2015-02-19 13:57:58 -08:00
Hannes Magnusson
9e4277e402
PHPC-157: QueryResult and CommandResult are now Result
2015-02-18 11:00:07 -08:00
Hannes Magnusson
557ed02006
PHPC-146: ReadPreferences swapped
2015-01-28 13:46:22 -08:00
Hannes Magnusson
4a20c63e1c
PHPC-138: var_dump()ing ReadPreference
2015-01-27 11:55:43 -08:00
Hannes Magnusson
bb5f45c313
PHPC-118: Use MongoDB\Driver namespace for phongo
2014-12-30 14:58:33 -08:00
Hannes Magnusson
19cfa46ee1
new tests
2014-07-21 22:07:48 +00:00