X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F76joins.t;h=a110ec23ea8170318c25ec47976c8c1c3516fb71;hb=fed15b9163bcb281a3a654643949a9cd1f9a3928;hp=88749b432c1413f0a08f8f6a38268659738af40e;hpb=d5dedbd62928f65a9071b4d9b6d56c6b663a073b;p=dbsrgits%2FDBIx-Class.git diff --git a/t/76joins.t b/t/76joins.t index 88749b4..a110ec2 100644 --- a/t/76joins.t +++ b/t/76joins.t @@ -100,15 +100,6 @@ is_same_sql( 'join 5 (SCALAR reference for ON statement) ok' ); -my @j6 = ( - { child => 'person' }, - [ { father => 'person' }, { 'father.person_id' => { '!=', '42' } }, ], - [ { mother => 'person' }, { 'mother.person_id' => 'child.mother_id' } ], -); -$match = qr/HASH reference arguments are not supported in JOINS/; -eval { $sa->_recurse_from(@j6) }; -like( $@, $match, 'join 6 (HASH reference for ON statement dies) ok' ); - my $rs = $schema->resultset("CD")->search( { 'year' => 2001, 'artist.name' => 'Caterwauler McCrae' }, { from => [ { 'me' => 'cd' },