Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
dcb4ccaa
Commit
dcb4ccaa
authored
Sep 15, 2017
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #403
parents
7a6daefb
e1aed705
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
AggregateFunctionalTest.php
tests/Operation/AggregateFunctionalTest.php
+0
-2
CreateIndexesFunctionalTest.php
tests/Operation/CreateIndexesFunctionalTest.php
+1
-1
No files found.
tests/Operation/AggregateFunctionalTest.php
View file @
dcb4ccaa
...
...
@@ -9,8 +9,6 @@ use stdClass;
class
AggregateFunctionalTest
extends
FunctionalTestCase
{
private
static
$wireVersionForCursor
=
2
;
public
function
testDefaultReadConcernIsOmitted
()
{
(
new
CommandObserver
)
->
observe
(
...
...
tests/Operation/CreateIndexesFunctionalTest.php
View file @
dcb4ccaa
...
...
@@ -164,7 +164,7 @@ class CreateIndexesFunctionalTest extends FunctionalTestCase
/* Earlier server versions do not support the createIndexes command. Per
* the Index Management specification, inserts on system.indexes must
* use the write concern {w:1}. */
if
(
version_compare
(
$this
->
getServerVersion
(),
'2.6.0'
,
'<'
))
{
if
(
!
\MongoDB\server_supports_feature
(
$this
->
getPrimaryServer
(),
self
::
$wireVersionForCommand
))
{
$this
->
markTestSkipped
(
'createIndexes command is not supported'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment