feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -47,7 +47,7 @@ describe("legacy admin ban wrappers", () => {
|
||||
"ban.create",
|
||||
{ userId: 42, reason: "Spam", hours: 24, type: "account" },
|
||||
);
|
||||
expect(revalidatePath).toHaveBeenCalledWith("/admin/bans");
|
||||
expect(revalidatePath).toHaveBeenCalledWith("/ase/people/moderation/bans");
|
||||
});
|
||||
|
||||
it("returns early when userId is invalid", async () => {
|
||||
@@ -62,6 +62,6 @@ describe("legacy admin ban wrappers", () => {
|
||||
"ban.lift",
|
||||
{ id: 42 },
|
||||
);
|
||||
expect(revalidatePath).toHaveBeenCalledWith("/admin/bans");
|
||||
expect(revalidatePath).toHaveBeenCalledWith("/ase/people/moderation/bans");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user