X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Finflate%2Fhri.t;h=1dca9c2333162f867fcf1e047385a52b4f16dd18;hb=fe0708a2d68b5d34b6bc6f7e70164c3e569f1dd0;hp=1a497d47779fe55e1d5c645c20009387857c14da;hpb=60eb65471a0585681e161641ee0c6f6495d0a6e3;p=dbsrgits%2FDBIx-Class.git diff --git a/t/inflate/hri.t b/t/inflate/hri.t index 1a497d4..1dca9c2 100644 --- a/t/inflate/hri.t +++ b/t/inflate/hri.t @@ -87,7 +87,7 @@ sub check_cols_of { my @dbic_reltable = $dbic_obj->$col; my @hashref_reltable = @{$datahashref->{$col}}; - is (scalar @dbic_reltable, scalar @hashref_reltable, 'number of related entries'); + is (scalar @hashref_reltable, scalar @dbic_reltable, 'number of related entries'); # for my $index (0..scalar @hashref_reltable) { for my $index (0..scalar @dbic_reltable) { @@ -130,7 +130,7 @@ for my $index (0 .. $#hashrefinf) { } # sometimes for ultra-mega-speed you want to fetch columns in esoteric ways -# check the inflator over a non-fetching join +# check the inflator over a non-fetching join $rs_dbic = $schema->resultset ('Artist')->search ({ 'me.artistid' => 1}, { prefetch => { cds => 'tracks' }, order_by => [qw/cds.cdid tracks.trackid/],