From: Rafael Kitover Date: Sat, 13 Feb 2010 20:18:27 +0000 (+0000) Subject: fix multiple cursor test X-Git-Tag: v0.08121~73^2~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c13488fdc005ad6a79bc791f0a6b6706dd248cc7;p=dbsrgits%2FDBIx-Class.git fix multiple cursor test --- diff --git a/t/750firebird.t b/t/750firebird.t index 55ed075..88899a7 100644 --- a/t/750firebird.t +++ b/t/750firebird.t @@ -155,8 +155,8 @@ EOF my $rs1 = $ars->search({}, { order_by => { -asc => 'artistid' }}); my $rs2 = $ars->search({}, { order_by => { -desc => 'artistid' }}); - is $rs1->first->artistid, 1, 'multiple cursors'; - is $rs2->first->artistid, 102, 'multiple cursors'; + is $rs1->next->artistid, 1, 'multiple cursors'; + is $rs2->next->artistid, 102, 'multiple cursors'; } # test empty insert