X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F73oracle_blob.t;h=2a78d36fde21730cdd2619ad4f11fad03352868b;hb=26aea721d0dd94fe9920efa3c01f081642399c28;hp=ae5a359cedd3a5111ac167337180a830352b1554;hpb=4ca1fd6fb90a85f5138d11f580394025aa20ea4a;p=dbsrgits%2FDBIx-Class.git diff --git a/t/73oracle_blob.t b/t/73oracle_blob.t index ae5a359..2a78d36 100644 --- a/t/73oracle_blob.t +++ b/t/73oracle_blob.t @@ -9,7 +9,6 @@ use DBIx::Class::Optional::Dependencies (); use lib qw(t/lib); use DBICTest; -use DBIC::SqlMakerTest; my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_ORA_${_}" } qw/DSN USER PASS/}; @@ -78,17 +77,12 @@ SKIP: { . ': https://rt.cpan.org/Ticket/Display.html?id=64206' if $q; - # so we can disable BLOB mega-output - my $orig_debug = $schema->storage->debug; - my $id; foreach my $size (qw( small large )) { $id++; - local $schema->storage->{debug} = $size eq 'large' - ? 0 - : $orig_debug - ; + local $schema->storage->{debug} = 0 + if $size eq 'large'; my $str = $binstr{$size}; lives_ok { @@ -154,8 +148,6 @@ SKIP: { @objs = $rs->search({ blob => "re-updated blob", clob => 're-updated clob' })->all; is @objs, 0, 'row deleted successfully'; } - - $schema->storage->debug ($orig_debug); } do_clean ($dbh);