|
plan skip_all => 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for ( 'test_dt_sqlite' )
unless DBIx::Class::Optional::Dependencies->req_ok_for ( 'test_dt_sqlite' );
my $schema = DBICTest->init_schema(
no_deploy => 1,
);
is(
ref $schema ->storage, 'DBIx::Class::Storage::DBI' ,
'Starting with generic storage'
);
my $parser = $schema ->storage->datetime_parser();
is( $parser , 'DateTime::Format::SQLite' , 'Got expected storage-set datetime_parser' );
isa_ok( $schema ->storage, 'DBIx::Class::Storage::DBI::SQLite' , 'storage' );
done_testing;
|