Skip to content

Commit

Permalink
List domains must return a list of Domain objects
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed May 24, 2017
1 parent ca7cd0c commit 9a3e175
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/vm/10_domain.t
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ sub test_create_domain {
." for VM $vm_name"
);

for my $dom2 ( $vm->list_domains ) {
is(ref($dom2),ref($domain)) if $vm_name ne 'Void';
}

return $domain;
}
Expand Down

0 comments on commit 9a3e175

Please sign in to comment.