X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frelationship%2Fdoesnt_exist.t;h=7575122ebdde4689591632f003b6b274da1f03aa;hb=9e7525a2cc9d7459ee89a6d2c85913a8b8c4eff9;hp=b68d08364d7c0c79b29cfa189e389abe56807e0e;hpb=5e8cb53cf70528d4e17526dba967cff67e13cde9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/relationship/doesnt_exist.t b/t/relationship/doesnt_exist.t index b68d083..7575122 100644 --- a/t/relationship/doesnt_exist.t +++ b/t/relationship/doesnt_exist.t @@ -15,7 +15,7 @@ my $link_id = $link->id; ok $link->id; $link->delete; -is $schema->resultset("Link")->search(id => $link_id)->count, 0, +is $schema->resultset("Link")->search({id => $link_id})->count, 0, "link $link_id was deleted"; # Get a fresh object with nothing cached @@ -24,5 +24,5 @@ $bookmark = $schema->resultset("Bookmark")->find($bookmark->id); # This would create a new link row if none existed $bookmark->link; -is $schema->resultset("Link")->search(id => $link_id)->count, 0, +is $schema->resultset("Link")->search({id => $link_id})->count, 0, 'accessor did not create a link object where there was none';