]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/08_pkgreport.t
remove UTF8 warnings
[debbugs.git] / t / 08_pkgreport.t
index df4861d9d0f22f7cd87e5cdae63c4e8796b8360f..745e35dd4b80b857c306bd654f3fbab6a382c1eb 100644 (file)
@@ -23,22 +23,8 @@ use Test::WWW::Mechanize;
 use lib qw(t/lib);
 use DebbugsTest qw(:all);
 
-my %config;
-eval {
-     %config = create_debbugs_configuration(debug => exists $ENV{DEBUG}?$ENV{DEBUG}:0);
-};
-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");
-         }
-     }
-}
+my %config = create_debbugs_configuration();
+
 
 # create a bug
 send_message(to=>'submit@bugs.something',