diff --git a/plugins/scaffolder-backend-module-gitea/src/actions/gitea.test.ts b/plugins/scaffolder-backend-module-gitea/src/actions/gitea.test.ts index 6461726dcf..6290b2b33d 100644 --- a/plugins/scaffolder-backend-module-gitea/src/actions/gitea.test.ts +++ b/plugins/scaffolder-backend-module-gitea/src/actions/gitea.test.ts @@ -88,7 +88,7 @@ describe('publish:gitea', () => { it('should throw if there is no repositoryId returned', async () => { server.use( - rest.put('https://gitea.com/api/v1/user/repo', (req, res, ctx) => { + rest.post('https://gitea.com/api/v1/user/repos', (req, res, ctx) => { expect(req.headers.get('Authorization')).toBe( 'Basic Z2l0ZWFfdXNlcjpnaXRlYV9wYXNzd29yZA==', );