Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
b56d8f47
Commit
b56d8f47
authored
May 09, 2022
by
Francesc Guasch
Browse files
wip: ok if found at least these displays
parent
6bade948
Changes
1
Hide whitespace changes
Inline
Side-by-side
t/vm/20_base.t
View file @
b56d8f47
...
...
@@ -316,7 +316,7 @@ sub test_displays_added_on_refresh($domain, $n_expected, $delete=1) {
"
SELECT count(*) FROM domain_displays WHERE id_domain=?
");
$sth_count
->
execute
(
$domain
->
id
);
my
(
$count
)
=
$sth_count
->
fetchrow
;
is
(
$count
,
$n_expected
,"
Expecting
$n_expected
displays on table domain_displays for
"
.
$domain
->
name
)
or
confess
;
ok
(
$count
>=
$n_expected
,"
Expecting
$n_expected
displays on table domain_displays for
"
.
$domain
->
name
)
or
confess
;
my
$domain_f
=
Ravada::Front::
Domain
->
open
(
$domain
->
id
);
my
$display
=
$domain_f
->
info
(
user_admin
)
->
{
hardware
}
->
{
display
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment