test(cleanup): remove legacy admin users references
This commit is contained in:
@@ -109,7 +109,7 @@ describe("user actions localization", () => {
|
||||
success: true,
|
||||
message: es.admin.users.actions.createSuccess,
|
||||
})
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/admin/users")
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/people")
|
||||
})
|
||||
})
|
||||
|
||||
@@ -181,7 +181,7 @@ describe("user actions localization", () => {
|
||||
success: true,
|
||||
message: es.admin.users.actions.updateSuccess,
|
||||
})
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/admin/users")
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/people")
|
||||
})
|
||||
})
|
||||
|
||||
@@ -236,7 +236,7 @@ describe("user actions localization", () => {
|
||||
success: true,
|
||||
message: es.admin.users.actions.toggleStatusSuccess,
|
||||
})
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/admin/users")
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/people")
|
||||
})
|
||||
})
|
||||
|
||||
@@ -290,7 +290,7 @@ describe("user actions localization", () => {
|
||||
success: true,
|
||||
message: es.admin.users.actions.resetPasswordSuccess,
|
||||
})
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/admin/users")
|
||||
expect(mocks.revalidatePath).toHaveBeenCalledWith("/people")
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user