From 249e315d8a831293a1feb85df80bb8b8027de178 Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Tue, 8 Jul 2025 22:11:11 +0200 Subject: [PATCH] fix: assert correct status code --- tests/integration/actions_concurrency_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/actions_concurrency_test.go b/tests/integration/actions_concurrency_test.go index 3a3692a36aa..30c36b4024f 100644 --- a/tests/integration/actions_concurrency_test.go +++ b/tests/integration/actions_concurrency_test.go @@ -47,7 +47,7 @@ func TestWorkflowConcurrency(t *testing.T) { Value: "abc123", }). AddTokenAuth(token) - MakeRequest(t, req, http.StatusNoContent) + MakeRequest(t, req, http.StatusCreated) wf1TreePath := ".gitea/workflows/concurrent-workflow-1.yml" wf1FileContent := `name: concurrent-workflow-1 @@ -303,7 +303,7 @@ func TestJobConcurrency(t *testing.T) { Value: "v1.23.0", }). AddTokenAuth(token) - MakeRequest(t, req, http.StatusNoContent) + MakeRequest(t, req, http.StatusCreated) wf1TreePath := ".gitea/workflows/concurrent-workflow-1.yml" wf1FileContent := `name: concurrent-workflow-1