Fix url typo error: ../repo => ../repos

Signed-off-by: cmoulliard <cmoulliard@redhat.com>
This commit is contained in:
cmoulliard
2023-12-20 12:05:20 +01:00
parent 38ebfd1980
commit 31e0e51bb9
@@ -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==',
);