Skip to content

Commit 6df16a0

Browse files
committed
Fix AnnotationDriverTest
The dropDups UniqueIndex option was being interpretted as string "true" instead of a boolean value.
1 parent 996c020 commit 6df16a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Doctrine/ODM/MongoDB/Tests/Mapping/AbstractMappingDriverTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,13 @@ class User
216216

217217
/**
218218
* @ODM\String
219-
* @ODM\UniqueIndex(order="desc", dropDups="true")
219+
* @ODM\UniqueIndex(order="desc", dropDups=true)
220220
*/
221221
public $email;
222222

223223
/**
224224
* @ODM\Int
225-
* @ODM\UniqueIndex(order="desc", dropDups="true")
225+
* @ODM\UniqueIndex(order="desc", dropDups=true)
226226
*/
227227
public $mysqlProfileId;
228228

0 commit comments

Comments
 (0)