X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FEventTZDeprecated.pm;h=a66797698b759c82c8186afa51fc33c9cfd61acb;hb=851437691480515dfef50e5e170b77ff51d07620;hp=29695dd559fc8ac39454b48f36ef120b9a4b554c;hpb=92ed069505f7c50adc6910ddf7e230f80acd5db1;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/EventTZDeprecated.pm b/t/lib/DBICTest/Schema/EventTZDeprecated.pm index 29695dd..a667976 100644 --- a/t/lib/DBICTest/Schema/EventTZDeprecated.pm +++ b/t/lib/DBICTest/Schema/EventTZDeprecated.pm @@ -2,7 +2,7 @@ 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 +16,10 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key('id'); +sub _datetime_parser { + require DateTime::Format::MySQL; + DateTime::Format::MySQL->new(); +} + + 1;