--TEST-- core.get_page default --FILE-- get('http://wordpress.test/?json=core.get_page&slug=about'); $response = $http->currentResponse(); echo $response['body']; ?> --EXPECT-- {"status":"ok","page":{"id":686,"type":"page","slug":"about","url":"http:\/\/wordpress.test\/about\/","status":"publish","title":"About The Tests","title_plain":"About The Tests","content":"
This site is using the standard WordPress Theme Unit Test Data for content. The Theme Unit Test is a series of posts and pages that match up with a checklist on the WordPress codex. You can use the data and checklist together to test your theme.<\/p>\n