fix(frontend): sprint 5 — correct API path /simulation-templates → /templates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Knacky
2026-05-28 06:43:33 +02:00
parent 90fc5bab6c
commit 2b700115e8
5 changed files with 30 additions and 30 deletions

View File

@@ -129,7 +129,7 @@ describe('SimulationList — admin/redteam', () => {
it('opens TemplatePickerModal when "From template…" is clicked', async () => {
mock.onGet('/engagements/42/simulations').reply(200, SIMULATIONS);
mock.onGet('/simulation-templates').reply(200, []);
mock.onGet('/templates').reply(200, []);
const user = userEvent.setup();
renderWithProviders(<SimulationList engagementId={42} />);
await waitFor(() => {