MySQL/Test/EventTZDeprecated.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 17 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 use base qw/DBIO::Test::BaseResult/;
8  
9 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
10  
11 __PACKAGE__->table('event');
12  
13 __PACKAGE__->add_columns(
14 id => { data_type => 'integer', is_auto_increment => 1 },
15  
16 starts_at => {
17 data_type => 'date',
18 locale => 'de_DE',
19 extra => { timezone => 'America/Chicago' },
20 datetime_undef_if_invalid => 1,
21 },
22  
23 created_on => {
24 data_type => 'datetime',
25 extra => { timezone => 'America/Chicago' },
26 },
27 );
28  
29 __PACKAGE__->set_primary_key('id');
30  
31 1;
32  
33 __END__
34  
35 =pod
36  
37 =encoding UTF-8
38  
39 =head1 NAME
40  
41 DBIO::MySQL::Test::EventTZDeprecated - Test result class using deprecated extra => { timezone => ... } syntax
42  
43 =head1 VERSION
44  
45 version 0.900001
46  
47 =head1 AUTHOR
48  
49 DBIO & DBIx::Class Authors
50  
51 =head1 COPYRIGHT AND LICENSE
52  
53 Copyright (C) 2026 DBIO Authors
54 Portions Copyright (C) 2005-2025 DBIx::Class Authors
55 Based on DBIx::Class, heavily modified.
56  
57 This is free software; you can redistribute it and/or modify it under
58 the same terms as the Perl 5 programming language system itself.
59  
60 =cut