feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -45,7 +45,7 @@ describe("Content help legacy wrappers", () => {
|
||||
"help-question.change",
|
||||
expect.objectContaining({ action: "create", name: "FAQ" }),
|
||||
);
|
||||
expect(redirect).toHaveBeenCalledWith("/admin/help-questions");
|
||||
expect(redirect).toHaveBeenCalledWith("/ase/content/help/questions");
|
||||
});
|
||||
it("delegates update and redirects", async () => {
|
||||
await updateHelpQuestion(
|
||||
@@ -56,7 +56,7 @@ describe("Content help legacy wrappers", () => {
|
||||
"help-question.change",
|
||||
expect.objectContaining({ action: "update", id: "42" }),
|
||||
);
|
||||
expect(redirect).toHaveBeenCalledWith("/admin/help-questions");
|
||||
expect(redirect).toHaveBeenCalledWith("/ase/content/help/questions");
|
||||
});
|
||||
it("delegates delete and redirects", async () => {
|
||||
await deleteHelpQuestion(fakeForm({ id: "42" }) as FormData);
|
||||
@@ -65,6 +65,6 @@ describe("Content help legacy wrappers", () => {
|
||||
"help-question.change",
|
||||
{ action: "delete", id: "42" },
|
||||
);
|
||||
expect(redirect).toHaveBeenCalledWith("/admin/help-questions");
|
||||
expect(redirect).toHaveBeenCalledWith("/ase/content/help/questions");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user