From: Wallace Reis Date: Wed, 19 May 2010 00:49:47 +0000 (+0000) Subject: failing tests for RS->update X-Git-Tag: v0.08122~40^2~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ecccae8a1a405b31b6bcb456fda2fa0b30df4837;p=dbsrgits%2FDBIx-Class.git failing tests for RS->update --- diff --git a/t/72pg.t b/t/72pg.t index e5d1bef..d676812 100644 --- a/t/72pg.t +++ b/t/72pg.t @@ -201,6 +201,15 @@ for my $use_insert_returning ($test_server_supports_insert_returning is( $uc_name_info->{size}, 3, "Case insensitive matching info for 'uc_name'" ); +## Test ResultSet->update +my $artist = $schema->resultset('Artist')->first; +my $cds = $artist->cds_unordered->search({ + year => { '!=' => 2010 } +}, { prefetch => 'liner_notes' }); +TODO: { + todo_skip 'update resultset with a prefetch over a might_have rel', 1; + $cds->update({ year => '2010' }); +} ## Test SELECT ... FOR UPDATE