]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/07_bugreport.t
abstract out create config in tests
[debbugs.git] / t / 07_bugreport.t
index 5dfca0507772dd0c916a50dfbbf7224194bd5cd1..c1438c276888711bb4cab8eec14f00131bf25a50 100644 (file)
@@ -26,21 +26,12 @@ use DebbugsTest qw(:all);
 
 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 there's an error
-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',