X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Freconnect.t;fp=t%2Fstorage%2Freconnect.t;h=75681d33e14d461b2535191122d61992a33a34f4;hb=b74b15b066a19f07b575883abd397ea4d3b045db;hp=557bff8cab086fd0be7618bda41561b90b2103b1;hpb=df604e83d5005e19e31f3fbd02e62ee30359fdf9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/reconnect.t b/t/storage/reconnect.t index 557bff8..75681d3 100644 --- a/t/storage/reconnect.t +++ b/t/storage/reconnect.t @@ -49,7 +49,7 @@ close $db_file; # Catch the DBI connection error local $SIG{__WARN__} = sub {}; throws_ok { - my @art_three = $schema->resultset("Artist")->search( {}, { order_by => { -desc => 'name' } } ); + $schema->resultset("Artist")->create({ name => 'not gonna happen' }); } qr/not a database/, 'The operation failed'; }