X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F53delete_related.t;h=4df86981c87b5d697f66fb366e896cd143e8f0dd;hb=ee356d004e088518205ac720b37c31a64c9cd861;hp=5c47959da2ad1e201994319453ab6cfc37e46a37;hpb=ae51573612aec70814b81bfe0c3683b824564368;p=dbsrgits%2FDBIx-Class.git diff --git a/t/53delete_related.t b/t/53delete_related.t index 5c47959..4df8698 100644 --- a/t/53delete_related.t +++ b/t/53delete_related.t @@ -16,7 +16,7 @@ my $artist_cds = $artist->cds->count; cmp_ok($artist_cds, '<', $total_cds, 'need more cds than just related cds'); ok($artist->delete_related('cds')); -cmp_ok($schema->resultset('CD')->count, '==', ($total_cds - $artist_cds), 'too many cds were deleted'); +cmp_ok($schema->resultset('CD')->count, '==', ($total_cds - $artist_cds), 'wrong number of cds were deleted'); $total_cds -= $artist_cds; @@ -26,4 +26,5 @@ my $artist2_cds = $artist2->search_related('cds')->count; cmp_ok($artist2_cds, '<', $total_cds, 'need more cds than related cds'); ok($artist2->delete_related('cds', {title => {like => '%'}})); -cmp_ok($schema->resultset('CD')->count, '==', ($total_cds - $artist2_cds), 'too many cds were deleted'); +cmp_ok($schema->resultset('CD')->count, '==', ($total_cds - $artist2_cds), 'wrong number of cds were deleted'); +