refactor(admin): remove legacy menu editor
This commit is contained in:
@@ -13,14 +13,13 @@ const SYSTEM_PREFIXES = [
|
||||
"/admin/housekeeping",
|
||||
"/admin/logs",
|
||||
"/admin/maintenance",
|
||||
"/admin/menu",
|
||||
"/admin/permissions",
|
||||
"/admin/settings",
|
||||
] as const;
|
||||
|
||||
describe("systemMigrationEntries", () => {
|
||||
it("covers all 20 System pages exactly once", () => {
|
||||
expect(systemMigrationEntries).toHaveLength(20);
|
||||
it("covers all 19 System pages exactly once", () => {
|
||||
expect(systemMigrationEntries).toHaveLength(19);
|
||||
expect(
|
||||
validateMigrationEntries(
|
||||
ownedLegacyPages(SYSTEM_PREFIXES),
|
||||
@@ -37,11 +36,6 @@ describe("systemMigrationEntries", () => {
|
||||
decision: "REMOVE",
|
||||
targetPath: null,
|
||||
}),
|
||||
expect.objectContaining({
|
||||
legacyPath: "/admin/menu",
|
||||
decision: "REMOVE",
|
||||
targetPath: null,
|
||||
}),
|
||||
]),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user