X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fshredder%2F03plugin_summary.t;h=2744531db50a7c492b3e0fb977382693641dc18b;hb=33beebf4cb42eba3e1dd868ad5e0af102de961da;hp=30606af419f1bb91bea0db9969b36cd1babb755f;hpb=7ac86daf67b0a95153b736d5811f9050363f6553;p=freeside.git diff --git a/rt/t/shredder/03plugin_summary.t b/rt/t/shredder/03plugin_summary.t index 30606af41..2744531db 100644 --- a/rt/t/shredder/03plugin_summary.t +++ b/rt/t/shredder/03plugin_summary.t @@ -6,7 +6,7 @@ use warnings; use Test::Deep; use File::Spec; use Test::More tests => 4; -use RT::Test (); +use RT::Test nodb => 1; BEGIN { my $shredder_utils = RT::Test::get_relocatable_file('utils.pl', File::Spec->curdir()); @@ -15,7 +15,7 @@ BEGIN { use_ok('RT::Shredder::Plugin'); -my $plugin_obj = new RT::Shredder::Plugin; +my $plugin_obj = RT::Shredder::Plugin->new; isa_ok($plugin_obj, 'RT::Shredder::Plugin'); my ($status, $msg) = $plugin_obj->LoadByName('Summary'); ok($status, 'loaded summary plugin') or diag "error: $msg";