X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Finflate%2Fhri.t;h=eb74da1772dd592aeaaaa22ff73308f40ba4dee8;hb=ab3c894f7fd70510b5e7ff2e1215e98abccfcd8b;hp=fab040eaef48e23a3a81bf2961bd4c2ed4d8bd78;hpb=c9d29bb255e00c9c734edfc9634b3ff24ad621ba;p=dbsrgits%2FDBIx-Class.git diff --git a/t/inflate/hri.t b/t/inflate/hri.t index fab040e..eb74da1 100644 --- a/t/inflate/hri.t +++ b/t/inflate/hri.t @@ -26,6 +26,9 @@ my $schema = DBICTest->init_schema(); my $cd1 = $rs->find ({cdid => 1}); is_deeply ( $cd1, $datahashref1, 'first/find return the same thing'); + + my $cd2 = $rs->search({ cdid => 1 })->single; + is_deeply ( $cd2, $datahashref1, 'first/search+single return the same thing'); } sub check_cols_of {