Commit Graph

19 Commits

Author SHA1 Message Date
Hannes Magnusson a0f2e15126 PHP-1296: Implement WriteConcerns 2014-11-26 14:04:30 -08:00
Hannes Magnusson bccdd2771f PHP-1294: Emtpy Query Result should still return QueryResult 2014-11-26 13:04:28 -08:00
Hannes Magnusson 27ae67c5e2 Fixed various memory leaks and compiler warnings 2014-11-21 17:30:58 -08:00
Hannes Magnusson 554c4105d1 Do not test the error messages from the server
The error message vary depending on the server version
2014-11-19 10:21:42 -08:00
Jeremy Mikola 5d6052e884 PHP-1142: Dump WriteResult object in write tests 2014-09-29 11:37:47 -04:00
Jeremy Mikola d702c53561 PHP-1068: Test that CommandResult is iterable
Use ping instead of isMaster since the result document is more predictable.
2014-09-05 17:02:08 -04:00
Jeremy Mikola 4eae11b928 Fix setting of zvals with zend_hash_update() when constructing query
New tests cases for fixed hash update code paths on $orderby and $query keys.
2014-08-25 13:55:59 -04:00
Jeremy Mikola efcbf0ea6d Update tests for revised Query constructor API 2014-08-25 13:55:59 -04:00
Hannes Magnusson ad331ffb65 Only skip it on travis 2014-07-31 22:15:29 +00:00
Hannes Magnusson d447f09294 s/executeWrite/executeWriteBatch/g as the class is called WriteBatch 2014-07-30 01:54:49 +00:00
Jeremy Mikola 619c29d3c1 Revise Manager::executeUpdate() error test
The multi and upsert options are not mutually exclusive, so this should not be an error case.
2014-07-17 15:31:28 -04:00
Hannes Magnusson 0e9e8a8677 skip on travis.. 2014-07-16 18:54:36 +00:00
Hannes Magnusson f6cbc69e91 Fix the remaining tests 2014-07-16 17:59:25 +00:00
Hannes Magnusson 24cd7bc571 Get tests to pass 2014-07-16 17:59:25 +00:00
Hannes Magnusson c32d944dc2 fix tests 2014-07-16 17:59:25 +00:00
Hannes Magnusson 173310ee7a api changes 2014-07-16 17:59:24 +00:00
Hannes Magnusson 164692ab63 Fix test 2014-07-11 07:38:49 +00:00
Hannes Magnusson 3c852854b6 Fix tests and push getServer() info down 2014-07-11 07:31:21 +00:00
Jeremy Mikola 40b090a821 Tests for constants and Server/Manager execute methods 2014-07-08 14:31:09 -04:00