Die on search in void context
[dbsrgits/DBIx-Class.git] / t / storage / txn.t
index a6a5f0b..dc7c8b3 100644 (file)
@@ -18,7 +18,7 @@ my $code = sub {
     year => 2006,
   }) foreach (@cd_titles);
 
-  return $artist->cds;
+  return $artist->cds->all;
 };
 
 # Test checking of parameters