to allow tests to finish without running, functional pmxcfs instance. Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com> --- test/snapshot-test.pm | 1 + 1 file changed, 1 insertion(+)
diff --git a/test/snapshot-test.pm b/test/snapshot-test.pm index c95e7f3..2090d26 100644 --- a/test/snapshot-test.pm +++ b/test/snapshot-test.pm @@ -379,6 +379,7 @@ $qemu_config_module->mock('__snapshot_save_vmstate', \&__snapshot_save_vmstate); # ignore existing replication config my $repl_config_module = new Test::MockModule('PVE::ReplicationConfig'); +$repl_config_module->mock('new' => sub { return bless {}, "PVE::ReplicationConfig" }); $repl_config_module->mock('check_for_existing_jobs' => sub { return undef }); $running = 1; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel