From: Peter Rabbitson Date: Wed, 6 May 2009 15:56:07 +0000 (+0000) Subject: TODOify sqla-dependent tests X-Git-Tag: v0.08103~101^2~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70307c78b28192f651578d5310cedb31c92b259e;p=dbsrgits%2FDBIx-Class.git TODOify sqla-dependent tests --- diff --git a/t/count/count_joined.t b/t/count/count_joined.t index 5f5fa33..992d23b 100644 --- a/t/count/count_joined.t +++ b/t/count/count_joined.t @@ -12,7 +12,7 @@ plan tests => 1; my $schema = DBICTest->init_schema(); TODO: { - local $TODO = 'TODO until we figure out what we really want'; + local $TODO = 'Needs -paren fixes in SQLA before it can work'; my $cds = $schema->resultset("CD")->search({ cdid => 1 }, { join => { cd_to_producer => 'producer' } }); is($cds->count, 1, "extra joins do not explode single entity count"); } diff --git a/t/resultset/as_query.t b/t/resultset/as_query.t index 6065307..6865655 100644 --- a/t/resultset/as_query.t +++ b/t/resultset/as_query.t @@ -66,7 +66,8 @@ my $rscol = $art_rs->get_column( 'charfield' ); ); } -{ +TODO: { + local $TODO = 'Needs -paren fixes in SQLA before it can work'; my $rs = $schema->resultset("CD")->search( { 'artist.name' => 'Caterwauler McCrae' }, { join => [qw/artist/]}