Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a test

  • Loading branch information...
commit 049d246ee71ca3289f4830b6b7f3a635f30fffc5 1 parent 8069db8
@eltimn eltimn authored
View
4 persistence/mongodb-record/src/test/scala/net/liftweb/mongodb/record/MongoRecordSpec.scala
@@ -18,7 +18,7 @@ package net.liftweb
package mongodb
package record
-import java.util.{Date, UUID}
+import java.util.{Date, Locale, UUID}
import java.util.regex.Pattern
import org.bson.types.ObjectId
@@ -621,7 +621,7 @@ object MongoRecordSpec extends Specification("MongoRecord Specification") with M
r.mandatoryIntField.is must_== 0
r.legacyOptionalIntField.valueBox must beEmpty
r.optionalIntField.is must beEmpty
- r.mandatoryLocaleField.is must_== "en_US"
+ r.mandatoryLocaleField.is must_== Locale.getDefault.toString
r.legacyOptionalLocaleField.valueBox must beEmpty
r.optionalLocaleField.is must beEmpty
r.mandatoryLongField.is must_== 0L
Please sign in to comment.
Something went wrong with that request. Please try again.