fix: use right url path

Signed-off-by: Salih Candir <salih.candir@styleflasher.at>
Signed-off-by: Salih Candir <salih@live.at>
This commit is contained in:
Salih Candir
2022-12-21 11:37:08 +01:00
committed by Salih Candir
parent 2f1b283de2
commit 1bb2630563
@@ -168,7 +168,7 @@ describe('AuditView', () => {
expect(
rendered.getByText(formatTime(a.timeCreated)).parentElement
?.parentElement,
).toHaveAttribute('href', `${basePath}/audits/${a.id}`);
).toHaveAttribute('href', `${basePath}/audit/${a.id}`);
});
});
});