X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F36datetime.t;h=380242d54b5dd6072fc025e229fb1b69708841da;hb=5cf7285e8d248e01718a3d691208a469c5dee1d1;hp=d0d6aef7bb85bb436b0a61a9b4adcc7f9ff588a8;hpb=05e8dc0a4848cd094c2aa063d183500017421fcc;p=dbsrgits%2FDBIx-Class.git diff --git a/t/36datetime.t b/t/36datetime.t index d0d6aef..380242d 100644 --- a/t/36datetime.t +++ b/t/36datetime.t @@ -5,9 +5,8 @@ use Test::More; use lib qw(t/lib); use DBICTest; -eval { require DateTime::Format::MySQL }; - -plan $@ ? ( skip_all => 'Requires DateTime::Format::MySQL' ) +eval { require DateTime::Format::SQLite }; +plan $@ ? ( skip_all => 'Requires DateTime::Format::SQLite' ) : ( tests => 3 ); my $schema = DBICTest->init_schema( @@ -24,8 +23,6 @@ is( my $parser = $schema->storage->datetime_parser(); -# We're currently expecting a MySQL parser. May change in future. -is($parser, 'DateTime::Format::MySQL', 'Got expected datetime_parser'); - +is($parser, 'DateTime::Format::SQLite', 'Got expected storage-set datetime_parser'); isa_ok($schema->storage, 'DBIx::Class::Storage::DBI::SQLite', 'storage');