From a4b62c1a9ade02c3b58d54cb39c0fc2646ff09b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Ign=C3=A1cio=20Fontoura=20Solla?= Date: Sun, 26 Jul 2026 03:34:11 -0300 Subject: [PATCH] fix(test): drop obsolete municipalitySlug/formAction props from MunicipalityListAdvisorsControl test after B27 rebase merge --- tests/unit/campaignComponents.unit.spec.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/unit/campaignComponents.unit.spec.ts b/tests/unit/campaignComponents.unit.spec.ts index 3b10a76f..3aaa6a44 100644 --- a/tests/unit/campaignComponents.unit.spec.ts +++ b/tests/unit/campaignComponents.unit.spec.ts @@ -567,12 +567,10 @@ describe('campaign visual foundation', () => { const withAdvisors = renderToStaticMarkup( createElement(MunicipalityListAdvisorsControl, { municipalityID: 1, - municipalitySlug: 'seabra', currentAdvisorIDs: [7], isPriority: false, advisorNamesById: new Map([[7, { id: 7, name: 'Ana Bastos', phone: null }]]), options: [], - formAction: noopListFormAction, }), ) expect(withAdvisors.match(/data-slot="tooltip-trigger"/g)).toHaveLength(1) @@ -585,12 +583,10 @@ describe('campaign visual foundation', () => { const withoutAdvisors = renderToStaticMarkup( createElement(MunicipalityListAdvisorsControl, { municipalityID: 1, - municipalitySlug: 'seabra', currentAdvisorIDs: [], isPriority: false, advisorNamesById: new Map(), options: [], - formAction: noopListFormAction, }), ) expect(withoutAdvisors).not.toContain('data-slot="tooltip-trigger"')