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

refactor(test): get only primary displays

parent 1225febc
......@@ -1529,11 +1529,11 @@ sub test_displays($vm, $node, $no_builtin=0) {
like($req->error,qr{^($|rsync done)}) or exit;
$domain = Ravada::Domain->open($domain->id);
my @displays1 = $domain->display_info(user_admin);
my @displays1 = grep {!$_->{is_secondary} } $domain->display_info(user_admin);
my $domain_f = Ravada::Front::Domain->open($domain->id);
my @displays_f = $domain_f->display_info(user_admin);
my @displays_f = grep {!$_->{is_secondary} } $domain_f->display_info(user_admin);
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