X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746sybase.t;h=818ed26a9f2f02810ae78ac3e4efbe490e6de2c5;hb=c0329273268971824784f239f32c7246e68da9c5;hp=2536bcd992e791dd63ff9c909900ed44f037f74b;hpb=5241250d8ed0c5b8e186382eb365147c9de6ffd5;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/746sybase.t b/t/746sybase.t index 2536bcd..818ed26 100644 --- a/t/746sybase.t +++ b/t/746sybase.t @@ -1,3 +1,4 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } use DBIx::Class::Optional::Dependencies -skip_all_without => 'test_rdbms_ase'; use strict; @@ -8,7 +9,6 @@ use Test::More; use Test::Exception; use DBIx::Class::_Util 'sigwarn_silencer'; -use lib qw(t/lib); use DBICTest; my @storage_types = ( @@ -501,6 +501,13 @@ SQL $rs->update({ blob => undef }); is((grep !defined($_->blob), $rs->all), 2); } 'blob update to NULL'; + + lives_ok { + $schema->txn_do(sub { + my $created = $rs->create( { clob => "some text" } ); + }); + } 'insert blob field in transaction'; + $ping_count-- if $@; # failure retry triggers a ping } # test MONEY column support (and some other misc. stuff)