Use correct url
This commit is contained in:
parent
086f0b7fcb
commit
efdfb0bf03
|
|
@ -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");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue