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
9666479a
Commit
9666479a
authored
Sep 11, 2017
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #400
parents
41857f99
2879ef5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
MapReduceFunctionalTest.php
tests/Operation/MapReduceFunctionalTest.php
+4
-0
No files found.
tests/Operation/MapReduceFunctionalTest.php
View file @
9666479a
...
@@ -4,6 +4,7 @@ namespace MongoDB\Tests\Operation;
...
@@ -4,6 +4,7 @@ namespace MongoDB\Tests\Operation;
use
MongoDB\BSON\Javascript
;
use
MongoDB\BSON\Javascript
;
use
MongoDB\Driver\BulkWrite
;
use
MongoDB\Driver\BulkWrite
;
use
MongoDB\Operation\DropCollection
;
use
MongoDB\Operation\Find
;
use
MongoDB\Operation\Find
;
use
MongoDB\Operation\MapReduce
;
use
MongoDB\Operation\MapReduce
;
...
@@ -110,6 +111,9 @@ class MapReduceFunctionalTest extends FunctionalTestCase
...
@@ -110,6 +111,9 @@ class MapReduceFunctionalTest extends FunctionalTestCase
$cursor
=
$operation
->
execute
(
$this
->
getPrimaryServer
());
$cursor
=
$operation
->
execute
(
$this
->
getPrimaryServer
());
$this
->
assertEquals
(
$expectedDocuments
,
iterator_to_array
(
$cursor
));
$this
->
assertEquals
(
$expectedDocuments
,
iterator_to_array
(
$cursor
));
$operation
=
new
DropCollection
(
$this
->
getDatabaseName
(),
$out
);
$operation
->
execute
(
$this
->
getPrimaryServer
());
}
}
/**
/**
...
...
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