Skip to content

Commit

Permalink
chore: fix test after removing discriminators
Browse files Browse the repository at this point in the history
  • Loading branch information
updraft0 committed Jul 19, 2024
1 parent e282027 commit 2afd8ca
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ object MapProtocolSpec extends ZIOSpecDefault:
test("can reset system name to be unset"):
val value: MapRequest = MapRequest.UpdateSystem(SystemId(1), name = Some(None))
val json = Json.Obj(
"type" -> Json.Str("UpdateSystem"),
"system_id" -> Json.Num(1),
"name" -> Json.Obj(
"type" -> Json.Str("None")
"UpdateSystem" -> Json.Obj(
"system_id" -> Json.Num(1),
"name" -> Json.Str("None")
)
)

Expand Down

0 comments on commit 2afd8ca

Please # to comment.