Skip to content
This repository
Browse code

Fixed a test

  • Loading branch information...
commit 049d246ee71ca3289f4830b6b7f3a635f30fffc5 1 parent 8069db8
Tim Nelson authored June 20, 2012
4  persistence/mongodb-record/src/test/scala/net/liftweb/mongodb/record/MongoRecordSpec.scala
@@ -18,7 +18,7 @@ package net.liftweb
18 18
 package mongodb
19 19
 package record
20 20
 
21  
-import java.util.{Date, UUID}
  21
+import java.util.{Date, Locale, UUID}
22 22
 import java.util.regex.Pattern
23 23
 
24 24
 import org.bson.types.ObjectId
@@ -621,7 +621,7 @@ object MongoRecordSpec extends Specification("MongoRecord Specification") with M
621 621
         r.mandatoryIntField.is must_== 0
622 622
         r.legacyOptionalIntField.valueBox must beEmpty
623 623
         r.optionalIntField.is must beEmpty
624  
-        r.mandatoryLocaleField.is must_== "en_US"
  624
+        r.mandatoryLocaleField.is must_== Locale.getDefault.toString
625 625
         r.legacyOptionalLocaleField.valueBox must beEmpty
626 626
         r.optionalLocaleField.is must beEmpty
627 627
         r.mandatoryLongField.is must_== 0L

0 notes on commit 049d246

Please sign in to comment.
Something went wrong with that request. Please try again.