Use correct url

This commit is contained in:
Christian Cueni 2024-07-16 16:42:51 +02:00
parent 086f0b7fcb
commit efdfb0bf03
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ describe("dashboardExport.cy.js", () => {
});
it("should download the person export", () => {
testExport("/statistic/dashboard/persons", "export_personen");
testExport("/dashboard/persons", "export_personen");
});
});
@ -89,7 +89,7 @@ describe("dashboardExport.cy.js", () => {
});
it("should download the person export", () => {
testExport("/statistic/dashboard/persons", "export_personen");
testExport("/dashboard/persons", "export_personen");
});
});
});

View File

@ -461,7 +461,7 @@ def _get_course_sessions_with_roles_for_user(
csr
for csr in get_course_sessions_with_roles_for_user(user)
if any(role in allowed_roles for role in csr.roles)
and csr.id in requested_cs_ids
and csr.id in requested_cs_ids
] # noqa
return all_cs_roles_for_user