X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F80unique.t;h=0e4108bf0cd7952c216858654acd413a9597a720;hb=cde96798a03e3e65b2bca2a3246164faab434a03;hp=2245511d1d90815b96d32e68c7fc72861e3ce2c3;hpb=246fa39d71feecdc126a39d916f34a28c1a554d5;p=dbsrgits%2FDBIx-Class.git diff --git a/t/80unique.t b/t/80unique.t index 2245511..0e4108b 100644 --- a/t/80unique.t +++ b/t/80unique.t @@ -195,7 +195,7 @@ is($row->baz, 3, 'baz is correct'); { key => 'cd_artist_title' } ); - ok(!$cd1->in_storage, 'CD is not in storage yet after update_or_new'); + is($cd1->in_storage, 0, 'CD is not in storage yet after update_or_new'); $cd1->insert; ok($cd1->in_storage, 'CD got added to strage after update_or_new && insert');