]> git.proxmox.com Git - pve-manager.git/commit
fix mocking in notification tests
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 16 Aug 2023 09:58:20 +0000 (11:58 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 16 Aug 2023 09:58:22 +0000 (11:58 +0200)
commit3571d98b5f6dba73c753f4ac70a66294a0c5ea86
tree0632e9196f7281e685cf676244597f2d4b44e4ec
parente5721b9062807d0a75900ea5cabe52b7fa2a6f5b
fix mocking in notification tests

PVE::Notify::send_notification is now private (the mocking was for the
old api)

'cfs_read_file' gets exported into PVE::Notify before it gets mocked,
so it needs to be mocked inside PVE::Notify, not PVE::Cluster.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
test/vzdump_notification_test.pl