Skip to content

Commit 145a582

Browse files
authored
Merge pull request #5632 from woocommerce/fix/ui-tests-mocks
Add admin_url to `me/sites` response mock for UI tests
2 parents 89bdb2d + 58576ba commit 145a582

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/WooCommerceUITests/Mocks/mappings/me/rest_v11_me_sites.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"equalTo": "ID,name,description,URL,options,jetpack,jetpack_connection"
88
},
99
"options": {
10-
"equalTo": "timezone,is_wpcom_store,woocommerce_is_active,gmt_offset,jetpack_connection_active_plugins"
10+
"equalTo": "timezone,is_wpcom_store,woocommerce_is_active,gmt_offset,jetpack_connection_active_plugins,admin_url"
1111
}
1212
}
1313
},
@@ -25,6 +25,7 @@
2525
"options": {
2626
"timezone": "",
2727
"gmt_offset": 0,
28+
"admin_url": "http:\/\/yourwoosite.com/wp-admin/",
2829
"is_wpcom_store": true,
2930
"woocommerce_is_active": true,
3031
"jetpack_version": "8.1.1",

0 commit comments

Comments
 (0)