Skip to content

Commit 683204c

Browse files
authored
Merge pull request #3875 from woocommerce/fix/networking-mocks-update
Update API mock to expect new query syntax on /rest-api/
2 parents d5643f9 + e25e99a commit 683204c

File tree

1 file changed

+4
-1
lines changed
  • WooCommerce/WooCommerceUITests/Mocks/mappings/jetpack-blogs

1 file changed

+4
-1
lines changed

WooCommerce/WooCommerceUITests/Mocks/mappings/jetpack-blogs/rest_api.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
"equalTo": "true"
88
},
99
"path": {
10-
"equalTo": "/&_method=get&_fields=authentication,namespaces"
10+
"equalTo": "/&_method=get"
11+
},
12+
"query": {
13+
"equalTo": "{\"_fields\":\"authentication,namespaces\"}"
1114
}
1215
}
1316
},

0 commit comments

Comments
 (0)