diff --git a/tests/integration/actions_job_test.go b/tests/integration/actions_job_test.go index 1e38728d7e6..955e0919340 100644 --- a/tests/integration/actions_job_test.go +++ b/tests/integration/actions_job_test.go @@ -159,6 +159,9 @@ jobs: } }) } + + httpContext := NewAPITestContext(t, user2.Name, apiRepo.Name, auth_model.AccessTokenScopeWriteRepository) + doAPIDeleteRepository(httpContext)(t) }) } @@ -269,6 +272,9 @@ jobs: } }) } + + httpContext := NewAPITestContext(t, user2.Name, apiRepo.Name, auth_model.AccessTokenScopeWriteRepository) + doAPIDeleteRepository(httpContext)(t) }) }