feat(tests): added services tests and fixtures

This commit is contained in:
misha
2025-12-11 15:53:35 +03:00
parent d1753e99f8
commit 070a3e39e7
65 changed files with 2092 additions and 1130 deletions

View File

@@ -0,0 +1,32 @@
{
"data": [
{
"id": 1,
"author_name": "User 1",
"author_slug": "user-1",
"author_profile_icon": "https://example.com/user1.jpg",
"body": "Great post!",
"children_comments": [],
"created_at": "2024-01-15T12:00:00Z"
}
],
"links": {
"first": "http://localhost/api/comments?page=1",
"last": "http://localhost/api/comments?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [],
"path": "http://localhost/api/comments",
"per_page": 10,
"to": 1,
"total": 1,
"total_min_price": null,
"total_max_price": null
}
}