X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2F81transactions.t;h=5434387e84df115912d32c281159ccaaf1461514;hp=847963ef369e589c8d2dd4d975b40a8935e10c6e;hb=f32eb113ef8eeecae466e2e950382bc4f7c5469d;hpb=39b590c1a3c4ec56fb4e7f631dbfb2604518f24b diff --git a/t/81transactions.t b/t/81transactions.t index 847963e..5434387 100644 --- a/t/81transactions.t +++ b/t/81transactions.t @@ -25,7 +25,7 @@ my $code = sub { eval { (ref $schema)->txn_do(sub{}); }; - like($@, qr/class method/, '$self parameter check ok'); + like($@, qr/storage/, "can't call txn_do without storage"); eval { $schema->txn_do(''); };