Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): implement branch/commit comparison API #30349

Merged
merged 13 commits into from
Apr 16, 2024
Prev Previous commit
Next Next commit
chore: update
Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Apr 13, 2024
commit ab5dcdafd2599f6f4c9372a8563cd9f9bbc8d4ee
2 changes: 1 addition & 1 deletion tests/integration/api_repo_compare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestAPICompareTag(t *testing.T) {

repoName := "repo1"

req := NewRequestf(t, "GET", "/user2/%s/compare/v1.1...master", repoName).
req := NewRequestf(t, "GET", "/api/v1/repos/user2/%s/compare/v1.1...master", repoName).
AddTokenAuth(token)
resp := MakeRequest(t, req, http.StatusOK)

Expand Down