blib/lib/DBIO/MySQL/Test/EventTZDeprecated.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::EventTZDeprecated;
2 # ABSTRACT: Test result class using deprecated extra => { timezone => ... } syntax
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 => {
19 data_type => 'date',
20 locale => 'de_DE',
21 extra => { timezone => 'America/Chicago' },
22 datetime_undef_if_invalid => 1,
23 },
24  
25 created_on => {
26 data_type => 'datetime',
27 extra => { timezone => 'America/Chicago' },
28 },
29 );
30  
31 __PACKAGE__->set_primary_key('id');
32  
33 1;
34  
35 __END__