--TEST-- core.get_author_index with user-friendly URLs --FILE-- get('http://wordpress.test/api/core/get_author_index'); $response = $http->currentResponse(); echo $response['body']; ?> --EXPECT-- {"status":"ok","count":2,"authors":[{"id":3,"slug":"chip-bennett","name":"Chip Bennett","first_name":"","last_name":"","nickname":"Chip Bennett","url":"","description":""},{"id":4,"slug":"ian-stewart","name":"Ian Stewart","first_name":"","last_name":"","nickname":"Ian Stewart","url":"","description":""}]}