Commit 1709c327 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

test(auth): fixed call to enforce limits was skipped

Merged in develop branch

issue #902
parent d4995f5e
......@@ -530,7 +530,9 @@ sub test_domain_limit_allowed {
is(scalar @list,2) or die Dumper([ map { $_->name } @list]);
user_admin->revoke($user,'start_many');
$req = Ravada::Request->enforce_limits(timeout => 1);
is($user->can_start_many,0) or exit;
$req = Ravada::Request->enforce_limits(timeout => 1,_force => 1);
rvd_back->_process_all_requests_dont_fork();
sleep 1;
rvd_back->_process_all_requests_dont_fork();
......
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