X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F61findnot.t;h=6d23dc9ced50449cd86535eb728968a56e0944cf;hb=0a3441ee8e0e747cfa05eff02df0d918ed5d6acb;hp=e7f4249a8e7cc8843accfa42fb45c53575601396;hpb=b7743dabe3354b4a43954ec44a226dc1c44722ac;p=dbsrgits%2FDBIx-Class.git diff --git a/t/61findnot.t b/t/61findnot.t index e7f4249..6d23dc9 100644 --- a/t/61findnot.t +++ b/t/61findnot.t @@ -59,7 +59,7 @@ warnings_exist { => "Non-unique find generated a cursor inexhaustion warning"; throws_ok { $artist_rs->find({}, { key => 'primary' }) -} qr/Unable to satisfy constraint 'primary'/; +} qr/Unable to satisfy requested constraint 'primary'/; $artist_rs = $schema->resultset("Artist")->search({}, { prefetch => 'cds' }); warnings_exist { @@ -67,6 +67,6 @@ warnings_exist { } qr/\QDBIx::Class::ResultSet::find(): Query returned more than one row/, "Non-unique find generated a cursor inexhaustion warning"; throws_ok { $artist_rs->find({}, { key => 'primary' }) -} qr/Unable to satisfy constraint 'primary'/; +} qr/Unable to satisfy requested constraint 'primary'/; done_testing;