Skip to content

Commit

Permalink
remove leftovers from copy from json tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yanns committed Feb 28, 2019
1 parent 9e5e259 commit 9ba5502
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ class OptionMongoFormatSpec extends WordSpec with MustMatchers with OptionValues
"value2" -> 45,
"value3" -> "b"
)
val json =
"""{
| "value1": "a",
| "value2": 45,
| "value3": "b"
|}
""".stripMargin
val result = MongoFormat[Option[SimpleClass]].fromMongoValue(dbo)
result.value.value1 mustEqual "a"
result.value.value2 mustEqual 45
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ class MongoEmbeddedSpec extends WordSpec with MustMatchers with OptionValues {
val dbo = dbObj(
"name" -> "ze name"
)
val json = """{ "name": "ze name" }"""
val test2 = MongoFormat[Test2].fromMongoValue(dbo)
test2.name mustEqual "ze name"
test2.embedded mustEqual None
Expand Down

0 comments on commit 9ba5502

Please sign in to comment.