blib/lib/DBIO/MySQL/Test/EventTZ.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package DBIO::MySQL::Test::EventTZ;
2 # ABSTRACT: Test result class for MySQL/MariaDB timezone-aware datetime inflation
3  
4 use strict;
5 use warnings;
6  
7 our $VERSION = '0.900007';
8  
9 use base qw/DBIO::Test::BaseResult/;
10  
11 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
12  
13 __PACKAGE__->table('event');
14  
15 __PACKAGE__->add_columns(
16 id => { data_type => 'integer', is_auto_increment => 1 },
17  
18 starts_at => { data_type => 'date', locale => 'de_DE', timezone => 'America/Chicago', datetime_undef_if_invalid => 1 },
19  
20 created_on => {
21 data_type => 'datetime',
22 timezone => 'America/Chicago',
23 },
24 );
25  
26 __PACKAGE__->set_primary_key('id');
27  
28 1;
29  
30 __END__