]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/09_soap.t
abstract out create config in tests
[debbugs.git] / t / 09_soap.t
index 4967a9c8a15baff7cf123fd935eb97929754b756..ccd51edc335bd9d254423052919ea9c2889ea19a 100644 (file)
@@ -19,21 +19,12 @@ use Cwd;
 
 my %config;
 eval {
-     %config = create_debbugs_configuration(debug => exists $ENV{DEBUG}?$ENV{DEBUG}:0);
+     %config = create_debbugs_configuration();
 };
 if ($@) {
      BAIL_OUT($@);
 }
 
-# Output some debugging information if we're debugging
-END{
-     if ($ENV{DEBUG}) {
-         foreach my $key (keys %config) {
-              diag("$key: $config{$key}\n");
-         }
-     }
-}
-
 # create a bug
 send_message(to=>'submit@bugs.something',
             headers => [To   => 'submit@bugs.something',