From 22bc7089345d41b6b78d6cd1730fefb2038de50c Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:31:22 +0200 Subject: [PATCH] fix: gitea tests --- src/operator/gitea.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operator/gitea.test.ts b/src/operator/gitea.test.ts index 9c6fcb2..c2363d5 100644 --- a/src/operator/gitea.test.ts +++ b/src/operator/gitea.test.ts @@ -6,7 +6,7 @@ describe('giteaOperator', () => { it('should create a valid group mapping string with all the teams', () => { const mappingString = buildTeamString(teamNames) expect(mappingString).to.be.equal( - '{"team-demo":{"otomi":["otomi-viewer","team-demo"]},"team-demo2":{"otomi":["otomi-viewer","team-demo2"]},"team-demo3":{"otomi":["otomi-viewer","team-demo3"]}}', + '{"platform-admin":{"otomi":["Owners"]},"team-demo":{"otomi":["otomi-viewer","team-demo"]},"team-demo2":{"otomi":["otomi-viewer","team-demo2"]},"team-demo3":{"otomi":["otomi-viewer","team-demo3"]}}', ) expect(mappingString).to.not.contain('team-admin') })