Tests: Remove unused notification spies from batch edit component tests

This commit is contained in:
Ömer Duran 2025-12-30 01:38:28 +01:00
parent b91ac2e67e
commit 9d17de55e3
No known key found for this signature in database
GPG key ID: 2550B0D579890013

View file

@ -16,8 +16,6 @@ vi.mock("model/thumb");
describe("component/photo/batch-edit", () => {
let wrapper;
let mockBatchInstance;
let notifySuccessSpy;
let notifyErrorSpy;
const mockSelection = ["uid1", "uid2", "uid3"];
@ -138,9 +136,6 @@ describe("component/photo/batch-edit", () => {
// Mock the Batch constructor to return our mock instance
vi.mocked(Batch).mockImplementation(() => mockBatchInstance);
notifySuccessSpy = vi.spyOn(VTUConfig.global.mocks.$notify, "success");
notifyErrorSpy = vi.spyOn(VTUConfig.global.mocks.$notify, "error");
wrapper = shallowMount(PPhotoBatchEdit, {
props: {
visible: false, // Start with false to avoid initial rendering issues