testing adjustments

This commit is contained in:
2025-07-30 21:34:55 -04:00
parent 2971858b37
commit 19362ddeb3
5 changed files with 122 additions and 42 deletions

View File

@@ -30,20 +30,22 @@ class TestWikiJSClientIntegration:
mock_response.ok = True
mock_response.json.return_value = {
"data": {
"pages": [
{
"id": 1,
"title": "Test Page",
"path": "test",
"content": "Content",
"isPublished": True,
"isPrivate": False,
"tags": [],
"locale": "en",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
}
]
"pages": {
"list": [
{
"id": 1,
"title": "Test Page",
"path": "test",
"content": "Content",
"isPublished": True,
"isPrivate": False,
"tags": [],
"locale": "en",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
}
]
}
}
}
mock_session.request.return_value = mock_response