Skip to content

Commit

Permalink
tweaked default log levels for testing a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 1, 2011
1 parent 644cc61 commit 35d2d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Test/Mojo.pm
Expand Up @@ -16,8 +16,8 @@ __PACKAGE__->attr(client => sub { Mojo::Client->singleton });
__PACKAGE__->attr('tx');
__PACKAGE__->attr(max_redirects => 0);

# Silent tests
$ENV{MOJO_LOG_LEVEL} ||= 'fatal';
# Silent or loud tests
$ENV{MOJO_LOG_LEVEL} ||= $ENV{HARNESS_IS_VERBOSE} ? 'debug' : 'fatal';

# Ooh, a graduate student huh?
# How come you guys can go to the moon but can't make my shoes smell good?
Expand Down

0 comments on commit 35d2d9c

Please sign in to comment.