File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
WooCommerce/src/test/kotlin/com/woocommerce/android/ui/customfields/list Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ class CustomFieldsViewModelTest : BaseUnitTest() {
491491 val customField = CustomField (
492492 id = 1 ,
493493 key = " key" ,
494- value = WCMetaDataValue .fromRawString (" {\" key\" : \" value\" }" )
494+ value = WCMetaDataValue (" {\" key\" : \" value\" }" )
495495 )
496496 setup {
497497 whenever(repository.observeDisplayableCustomFields(PARENT_ITEM_ID )).thenReturn(flowOf(listOf (customField)))
@@ -514,7 +514,7 @@ class CustomFieldsViewModelTest : BaseUnitTest() {
514514 val customField = CustomField (
515515 id = 1 ,
516516 key = " key" ,
517- value = WCMetaDataValue .fromRawString (" {\" key\" : \" value\" }" )
517+ value = WCMetaDataValue (" {\" key\" : \" value\" }" )
518518 )
519519 setup {
520520 whenever(repository.observeDisplayableCustomFields(PARENT_ITEM_ID )).thenReturn(flowOf(listOf (customField)))
You can’t perform that action at this time.
0 commit comments