X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fresultset%2Fplus_select.t;h=4f082f56b01a857b16a413ca0ee0b71056734ccf;hb=79adc44f8b50de05a1d31f9b3d4a64b137c7d0d8;hp=1ffca1419c12c46e30d4e746c097153b9fd23fd5;hpb=d61b2132d3028062a4a2d7cad8a835d6af4477f8;p=dbsrgits%2FDBIx-Class.git diff --git a/t/resultset/plus_select.t b/t/resultset/plus_select.t index 1ffca14..4f082f5 100644 --- a/t/resultset/plus_select.t +++ b/t/resultset/plus_select.t @@ -20,7 +20,7 @@ my %basecols = $cd_rs->first->get_columns; # ramifications of changing this. Thus the value override and the # TODO to go with it. Delete all of this if ever resolved. my %todo_rel_inflation_override = ( artist => $basecols{artist} ); -TODO: { +{ local $TODO = 'Treating relationships as inflatable data is wrong - see comment in ' . __FILE__; ok (! keys %todo_rel_inflation_override); } @@ -43,8 +43,10 @@ is_deeply ( ); SKIP: { - eval { require DateTime }; - skip "Need DateTime for +select/get_inflated_columns tests" if $@; + skip ( + "+select/get_inflated_columns tests need " . DBIx::Class::Optional::Dependencies->req_missing_for ('test_dt'), + 1 + ) unless DBIx::Class::Optional::Dependencies->req_ok_for ('test_dt'); $schema->class('CD')->inflate_column( 'year', { inflate => sub { DateTime->new( year => shift ) },