Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
anotheroneofthese committed Oct 1, 2024
1 parent 897b441 commit 91c6146
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import no.nb.mlt.wls.application.restapi.order.toOrder
import no.nb.mlt.wls.domain.model.HostName
import no.nb.mlt.wls.domain.model.Order
import no.nb.mlt.wls.domain.model.Owner
import no.nb.mlt.wls.infrastructure.synq.ShippingAddress
import no.nb.mlt.wls.infrastructure.synq.SynqOrderPayload
import no.nb.mlt.wls.infrastructure.synq.SynqOwner
import no.nb.mlt.wls.infrastructure.synq.toSynqPayload
Expand Down Expand Up @@ -55,7 +56,16 @@ class MongoOrderModelConversionTest {
orderDate = LocalDateTime.now(),
priority = 5,
owner = SynqOwner.NB,
orderLine = listOf(SynqOrderPayload.OrderLine(1, "hostProductId", 1.0))
orderLine =
listOf(
SynqOrderPayload.OrderLine(1, "hostProductId", 1.0)
),
shippingAddress =
ShippingAddress(
ShippingAddress.Address(
"contactPerson"
)
)
)

@Test
Expand Down

0 comments on commit 91c6146

Please sign in to comment.