fix: update test to match actual Gitea API URL format
This commit is contained in:
parent
49fa94d717
commit
d2691e2eba
|
@ -46,5 +46,5 @@ class TestGiteaClient:
|
||||||
assert comments == expected_comments
|
assert comments == expected_comments
|
||||||
|
|
||||||
# Verify the correct URL was called
|
# Verify the correct URL was called
|
||||||
expected_url = f"{self.gitea_url}/repos/{self.owner}/{self.repo}/pulls/{pull_number}/comments"
|
expected_url = f"{self.gitea_url}/api/v1/repos/{self.owner}/{self.repo}/pulls/{pull_number}/comments"
|
||||||
mock_get.assert_called_once_with(expected_url)
|
mock_get.assert_called_once_with(expected_url)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user