DLNA renderers, app updates told like Librarian, acquisition without Lidarr, Collection and admin rework (M502–M505, M542) #156
@@ -55,10 +55,9 @@ describe('admin duplicates API', () => {
|
||||
|
||||
it('mergeDuplicateGroup POSTs the chosen survivor', async () => {
|
||||
(api.post as unknown as ReturnType<typeof vi.fn>).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'
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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 }));
|
||||
|
||||
Reference in New Issue
Block a user