X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F61findnot.t;h=b8b0d31c29bd1b2595f0e598693d8301729858ea;hb=eed5492f;hp=7a539d64a8527b9019310f96cd91be94b11ee0d0;hpb=5e0e5426b36b5df5f9d1394068cd9f7f1c81087a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/61findnot.t b/t/61findnot.t index 7a539d6..b8b0d31 100644 --- a/t/61findnot.t +++ b/t/61findnot.t @@ -65,6 +65,7 @@ throws_ok { } qr/Unable to satisfy requested constraint 'primary'/; for (1, 0) { + local $ENV{DBIC_NULLABLE_KEY_NOWARN}; warnings_like sub { $artist_rs->find({ artistid => undef }, { key => 'primary' })