@@ -423,15 +423,15 @@ class DefaultReplayBreadcrumbConverterTest {
423423 fakeOkHttpNetworkDetails.setRequestDetails(
424424 ReplayNetworkRequestOrResponse (
425425 100L ,
426- NetworkBody .fromString (" request body content" ),
426+ NetworkBody (" request body content" ),
427427 mapOf (" Content-Type" to " application/json" ),
428428 )
429429 )
430430 fakeOkHttpNetworkDetails.setResponseDetails(
431431 200 ,
432432 ReplayNetworkRequestOrResponse (
433433 500L ,
434- NetworkBody .fromJsonObject (mapOf (" status" to " success" , " message" to " OK" )),
434+ NetworkBody (mapOf (" status" to " success" , " message" to " OK" )),
435435 mapOf (" Content-Type" to " text/plain" ),
436436 ),
437437 )
@@ -485,15 +485,15 @@ class DefaultReplayBreadcrumbConverterTest {
485485 fakeOkHttpNetworkDetails.setRequestDetails(
486486 ReplayNetworkRequestOrResponse (
487487 150L ,
488- NetworkBody .fromJsonArray (listOf (" item1" , " item2" , " item3" )),
488+ NetworkBody (listOf (" item1" , " item2" , " item3" )),
489489 mapOf (" Content-Type" to " application/json" ),
490490 )
491491 )
492492 fakeOkHttpNetworkDetails.setResponseDetails(
493493 404 ,
494494 ReplayNetworkRequestOrResponse (
495495 550L ,
496- NetworkBody .fromJsonObject (mapOf (" status" to " success" , " message" to " OK" )),
496+ NetworkBody (mapOf (" status" to " success" , " message" to " OK" )),
497497 mapOf (" Content-Type" to " text/plain" ),
498498 ),
499499 )
@@ -540,15 +540,15 @@ class DefaultReplayBreadcrumbConverterTest {
540540 networkRequestData.setRequestDetails(
541541 ReplayNetworkRequestOrResponse (
542542 100L ,
543- NetworkBody .fromString (" request body content" ),
543+ NetworkBody (" request body content" ),
544544 mapOf (" Content-Type" to " application/json" ),
545545 )
546546 )
547547 networkRequestData.setResponseDetails(
548548 200 ,
549549 ReplayNetworkRequestOrResponse (
550550 100L ,
551- NetworkBody .fromString( " respnse body content" ),
551+ NetworkBody ( " response body content" ),
552552 mapOf (" Content-Type" to " application/json" ),
553553 ),
554554 )
0 commit comments