X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FEventTZDeprecated.pm;h=c66cd0707986469a1730c20b51a435998eb11d3b;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=29695dd559fc8ac39454b48f36ef120b9a4b554c;hpb=92ed069505f7c50adc6910ddf7e230f80acd5db1;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/EventTZDeprecated.pm b/t/lib/DBICTest/Schema/EventTZDeprecated.pm index 29695dd..c66cd07 100644 --- a/t/lib/DBICTest/Schema/EventTZDeprecated.pm +++ b/t/lib/DBICTest/Schema/EventTZDeprecated.pm @@ -2,7 +2,8 @@ package DBICTest::Schema::EventTZDeprecated; use strict; use warnings; -use base qw/DBIx::Class::Core/; + +use base qw/DBICTest::BaseResult/; __PACKAGE__->load_components(qw/InflateColumn::DateTime/); @@ -16,4 +17,10 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key('id'); +sub _datetime_parser { + require DateTime::Format::MySQL; + DateTime::Format::MySQL->new(); +} + + 1;