Skip to content

Commit 3f393f6

Browse files
committed
Use default database for MODM140Test
Custom databases do not get cleaned up by BaseTest (see doctrine#351).
1 parent a5f4821 commit 3f393f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Doctrine/ODM/MongoDB/Tests/Functional/Ticket/MODM140Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function testAddingAnotherEmbeddedDocument()
122122

123123
}
124124

125-
/** @ODM\Document(collection="tests", db="tests") */
125+
/** @ODM\Document */
126126
class Category
127127
{
128128
/** @ODM\Id */
@@ -173,7 +173,7 @@ public function __construct($name)
173173

174174
}
175175

176-
/** @ODM\Document(collection="comments", db="tests") */
176+
/** @ODM\Document */
177177
class Comment
178178
{
179179
/** @ODM\Id */

0 commit comments

Comments
 (0)