Galileo/Plugin/Deploy.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
register
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Galileo::Plugin::Deploy;
2  
3 use Mojo::Base 'Mojolicious::Plugin';
4  
5 use Galileo::DB::Deploy;
6  
7 sub register {
8 my ($plugin, $app) = @_;
9  
10 my $dh = Galileo::DB::Deploy->new( schema => $app->schema );
11 $app->helper( dh => sub { $dh } );
12  
13 return $dh;
14 }
15  
16 1;
17