Skip to content

Commit

Permalink
wip: we need init now to create local_groups table
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Oct 4, 2024
1 parent d2cf05a commit a98459b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/40_auth_sql.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use Test::Ravada;
use_ok('Ravada');
use_ok('Ravada::Auth::SQL');

init();
my $RAVADA = rvd_back();

Ravada::Auth::SQL::add_user(name => 'test',password => $$);
Expand Down
1 change: 1 addition & 0 deletions t/lib/Test/Ravada.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1597,6 +1597,7 @@ sub _qemu_storage_pool {
sub remove_void_networks($vm=undef) {
if (!defined $vm) {
eval { $vm = rvd_back->search_vm('Void') };
die $@ if $@;
}
my $dir_net = $vm->dir_img()."/networks";
return if ! -e $dir_net;
Expand Down
1 change: 1 addition & 0 deletions t/user/10_domains.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use_ok('Ravada');
use_ok('Ravada::VM::Void');
use_ok('Ravada::Auth::SQL');

init();
my $ravada = rvd_back();

#
Expand Down
1 change: 1 addition & 0 deletions t/user/35_share.t
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ sub test_machine_info_shared($user, $clone) {

##############################################################

init();
clean();
for my $vm_name ( vm_names() ) {

Expand Down

0 comments on commit a98459b

Please sign in to comment.