diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c52b8b8..3033421 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Go Test with Coverage run: | - go test ./internal/service/... ./internal/api/handler/... ./internal/integration/... ./internal/connector/... -count=1 -cover -coverprofile=coverage.out + go test ./internal/service/... ./internal/api/handler/... ./internal/integration/... ./internal/connector/issuer/local/... -count=1 -cover -coverprofile=coverage.out - name: Check Coverage Thresholds run: | diff --git a/internal/integration/negative_test.go b/internal/integration/negative_test.go index 015cfd3..04f487e 100644 --- a/internal/integration/negative_test.go +++ b/internal/integration/negative_test.go @@ -190,7 +190,7 @@ func TestNegativePaths(t *testing.T) { } agentBytes, _ := json.Marshal(agentBody) - regResp, err := http.Post(server.URL+"/api/v1/agents/register", "application/json", bytes.NewReader(agentBytes)) + regResp, err := http.Post(server.URL+"/api/v1/agents", "application/json", bytes.NewReader(agentBytes)) if err != nil { t.Fatalf("register agent failed: %v", err) }