ArticleControllerTest__testUpdateClearDescription__1.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "status_code": 200,
  3. "headers": {
  4. "cache-control": [
  5. "no-cache, private"
  6. ],
  7. "date": "Tue, 01 Jan 2019 00:00:00 CST",
  8. "content-type": [
  9. "application\/json"
  10. ],
  11. "x-ratelimit-limit": [
  12. "60"
  13. ],
  14. "x-ratelimit-remaining": [
  15. "59"
  16. ],
  17. "access-control-allow-origin": [
  18. "http:\/\/laravel-bjyblog.test"
  19. ]
  20. },
  21. "content": {
  22. "data": {
  23. "id": 1,
  24. "category_id": 1,
  25. "title": "updated title",
  26. "slug": "welcome-to-laravel-bjyblog",
  27. "author": "updated baijunyao",
  28. "markdown": "updated content",
  29. "html": "<p>updated content<\/p>\n",
  30. "description": "",
  31. "keywords": "updated keywords",
  32. "cover": "\/updated.jpg",
  33. "is_top": 1,
  34. "views": 666,
  35. "tags": [
  36. {
  37. "id": 1,
  38. "name": "laravel",
  39. "slug": "laravel",
  40. "keywords": "laravel",
  41. "description": "Laravel是一套简洁、优雅的PHP Web开发框架(PHP Web Framework)。它可以让你从面条一样杂乱的代码中解脱出来;它可以帮你构建一个完美的网络APP,而且每行代码都可以简洁、富于表达力。",
  42. "created_at": "2017-07-16 07:35:12",
  43. "updated_at": "2016-07-16 07:35:12",
  44. "deleted_at": null,
  45. "pivot": {
  46. "article_id": 1,
  47. "tag_id": 1
  48. }
  49. }
  50. ],
  51. "category": {
  52. "id": 1,
  53. "name": "php",
  54. "slug": "php",
  55. "keywords": "php",
  56. "description": "php相关的文章",
  57. "sort": 1,
  58. "pid": 0,
  59. "created_at": "2017-07-16 07:35:12",
  60. "updated_at": "2016-07-16 07:35:12",
  61. "deleted_at": null
  62. },
  63. "created_at": "2017-07-16 07:35:12",
  64. "updated_at": "2019-01-01 00:00:00",
  65. "deleted_at": null
  66. }
  67. }
  68. }