Skip to content

Commit 9666479

Browse files
committed
Merge pull request #400
2 parents 41857f9 + 2879ef5 commit 9666479

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Operation/MapReduceFunctionalTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use MongoDB\BSON\Javascript;
66
use MongoDB\Driver\BulkWrite;
7+
use MongoDB\Operation\DropCollection;
78
use MongoDB\Operation\Find;
89
use MongoDB\Operation\MapReduce;
910

@@ -110,6 +111,9 @@ public function testTypeMapOptionWithOutputCollection(array $typeMap = null, arr
110111
$cursor = $operation->execute($this->getPrimaryServer());
111112

112113
$this->assertEquals($expectedDocuments, iterator_to_array($cursor));
114+
115+
$operation = new DropCollection($this->getDatabaseName(), $out);
116+
$operation->execute($this->getPrimaryServer());
113117
}
114118

115119
/**

0 commit comments

Comments
 (0)