MartinHeinz/blog-backend

View on GitHub
cmd/blog_backend/test_data/test_case_data/post_t4.json

Summary

Maintainability
Test Coverage
{
  "posts": [
    {
      "id": 2,
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z",
      "deleted_at": null,
      "title": "Second Blog Post",
      "text": "This is blog about something else...",
      "author": "Martin",
      "next": null,
      "next_post_id": 3,
      "previous": null,
      "previous_post_id": 1,
      "posted_on": "2019-02-24T13:00:00Z",
      "sections": null,
      "tags": null
    },
    {
      "id": 1,
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z",
      "deleted_at": null,
      "title": "First Blog Post",
      "text": "This is blog about something.",
      "author": "Martin",
      "next": null,
      "next_post_id": 2,
      "previous": null,
      "previous_post_id": 0,
      "posted_on": "2018-08-24T14:00:00Z",
      "sections": null,
      "tags": null
    }
  ]
}