Commit cc5f18b5 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(test): is_enabled is just enabled now

parent 6d646923
......@@ -342,7 +342,7 @@ sub test_removed_base_file($vm, $node) {
is($base->base_in_vm($node->id),1);
is(scalar($base->list_vms),2) or exit;
my $node2 = Ravada::VM->open($node->id);
is($node2->is_enabled,1);
is($node2->enabled,1);
for my $clone_data ($base->clones) {
my $clone = Ravada::Domain->open($clone_data->{id});
$clone->remove(user_admin);
......@@ -406,7 +406,7 @@ sub test_removed_base_file_and_swap_remote($vm, $node) {
wait_request(debug => 0);
is($base->base_in_vm($node->id),1);
my $node2 = Ravada::VM->open($node->id);
is($node2->is_enabled,1);
is($node2->enabled,1);
for my $clone_data ($base->clones) {
my $clone = Ravada::Domain->open($clone_data->{id});
$clone->remove(user_admin);
......@@ -835,7 +835,7 @@ sub test_base_unset($vm, $node) {
$base->set_base_vm(id_vm => $node->id,value => 0, user => user_admin);
$clone->start(user_admin);
is($clone->_vm->id, $vm->id);
is($clone->_vm->name, $vm->name) or exit;
_remove_domain($base);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment