From: Peter Rabbitson Date: Thu, 12 Jun 2014 04:53:38 +0000 (+0200) Subject: Fix test tripping on external warnings X-Git-Tag: v0.082800~173 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9a94cf9318433056df45629190a8ae433a5a9722;p=dbsrgits%2FDBIx-Class.git Fix test tripping on external warnings --- diff --git a/t/delete/cascade_missing.t b/t/delete/cascade_missing.t index 03de883..8bd8a76 100644 --- a/t/delete/cascade_missing.t +++ b/t/delete/cascade_missing.t @@ -11,13 +11,13 @@ use DBICTest; my $schema = DBICTest->init_schema(); $schema->_unregister_source('CD'); -warnings_like { +warnings_exist { my $s = $schema; lives_ok { $_->delete for $s->resultset('Artist')->all; } 'delete on rows with dangling rels lives'; } [ - # 12 == 3 artists * failed cascades: + # 9 == 3 artists * failed cascades: # cds # cds_unordered # cds_very_very_very_long_relationship_name