diff --git a/plugins/scaffolder-backend-module-gitlab/src/actions/gitlabGroupEnsureExists.test.ts b/plugins/scaffolder-backend-module-gitlab/src/actions/gitlabGroupEnsureExists.test.ts index 7b821cf24f..f74c80742c 100644 --- a/plugins/scaffolder-backend-module-gitlab/src/actions/gitlabGroupEnsureExists.test.ts +++ b/plugins/scaffolder-backend-module-gitlab/src/actions/gitlabGroupEnsureExists.test.ts @@ -92,8 +92,6 @@ describe('gitlab:group:ensureExists', () => { }); it('should only apply description to the last created group', async () => { - mockGitlabClient.Groups.search.mockResolvedValue([]); - mockGitlabClient.Groups.create .mockResolvedValueOnce({ id: 1,