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
ed55ab6b
Commit
ed55ab6b
authored
Dec 05, 2019
by
Francesc Guasch
Browse files
test(frontend): clone info works when extra ports
issue #1197
parent
be16936f
Changes
1
Hide whitespace changes
Inline
Side-by-side
t/vm/92_ports.t
View file @
ed55ab6b
...
...
@@ -510,6 +510,10 @@ sub test_clone_exports_add_ports($vm) {
my
@base_ports
=
$base
->
list_ports
();
is
(
scalar
@base_ports
,
scalar
@base_ports0
+
1
);
my
$clone_f
=
Ravada::Front::
Domain
->
open
(
$clone
->
id
);
eval
{
my
$info
=
$clone_f
->
info
(
user_admin
)
};
is
(
$@
,'');
$clone
->
start
(
remote_ip
=>
'
10.1.1.1
',
user
=>
user_admin
);
my
@clone_ports
=
$clone
->
list_ports
();
is
(
scalar
@clone_ports
,
2
);
...
...
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