diff --git a/web/src/lib/api/admin.duplicates.test.ts b/web/src/lib/api/admin.duplicates.test.ts index 3f0c8d15..44a53a94 100644 --- a/web/src/lib/api/admin.duplicates.test.ts +++ b/web/src/lib/api/admin.duplicates.test.ts @@ -55,10 +55,9 @@ describe('admin duplicates API', () => { it('mergeDuplicateGroup POSTs the chosen survivor', async () => { (api.post as unknown as ReturnType).mockResolvedValueOnce({ removed_paths: [] }); - await mergeDuplicateGroup('g-1', { survivor_track_id: 't-1', unmonitor: true }); + await mergeDuplicateGroup('g-1', { survivor_track_id: 't-1' }); expect(api.post).toHaveBeenCalledWith('/api/admin/library/duplicates/g-1/merge', { - survivor_track_id: 't-1', - unmonitor: true + survivor_track_id: 't-1' }); }); }); diff --git a/web/src/routes/admin/reports/reports.test.ts b/web/src/routes/admin/reports/reports.test.ts index ba236b2d..a10201e9 100644 --- a/web/src/routes/admin/reports/reports.test.ts +++ b/web/src/routes/admin/reports/reports.test.ts @@ -97,7 +97,7 @@ describe('/admin/reports', () => { expect(resolvePlaybackError).not.toHaveBeenCalled(); }); - test('on a phone the row's other actions are in its menu', async () => { + test("on a phone the row's other actions are in its menu", async () => { setup([flagged], [failure('e2', 't2', 'Intro', 2)]); const roygbiv = screen.getAllByTestId('report-row').find((r) => r.textContent?.includes('Roygbiv'))!; await fireEvent.click(within(roygbiv).getByRole('button', { name: /more actions/i }));