Skip to content

Commit

Permalink
wip: removed warning
Browse files Browse the repository at this point in the history
issue #2036
  • Loading branch information
frankiejol committed Mar 20, 2024
1 parent 8afc292 commit 5db2bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/request/30_hardware.t
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ sub _remove_other_video_primary($domain) {
sub test_add_hardware_request($vm, $domain, $hardware, $data={}) {

return if $hardware eq 'video'
&& exists $data->{type} && $data->{type} eq 'none';
&& exists $data->{type} && defined $data->{type}
&& $data->{type} eq 'none';

$domain = Ravada::Domain->open($domain->id);

Expand Down

0 comments on commit 5db2bc3

Please sign in to comment.