X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frelationship%2Fdoesnt_exist.t;fp=t%2Frelationship%2Fdoesnt_exist.t;h=7575122ebdde4689591632f003b6b274da1f03aa;hb=fe0708a2d68b5d34b6bc6f7e70164c3e569f1dd0;hp=b68d08364d7c0c79b29cfa189e389abe56807e0e;hpb=01272eb81fe3a43e0a2f7befa465cc669945d543;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';