blib/lib/App/Netdisco/Web/ManagedConfig.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package App::Netdisco::Web::ManagedConfig;
2  
3 use Dancer ':syntax';
4  
5 use App::Netdisco::Util::ManagedConfig 'load_managed_config';
6  
7 # /t/<tenant>/ sets `var tenant` and then forwards, and the `before` hooks run
8 # again: the first pass applies the default tenant and the forwarded pass
9 # applies the tenant. A pass whose counter has not moved reads only the
10 # counter; the overlay comes from the cache.
11 hook 'before' => sub { load_managed_config() };
12  
13 true;