made tests sane
This commit is contained in:
parent
73d44feace
commit
49e5e91860
1 changed files with 2 additions and 0 deletions
|
@ -114,6 +114,8 @@ sub dump_error {
|
|||
my $self = shift;
|
||||
if ( my $error = $self->tx->res->dom->at('pre[id="error"]') ) {
|
||||
diag $error->text;
|
||||
} elsif ( my $route_error = $self->tx->res->dom->at('div[id="routes"] > p') ) {
|
||||
diag $route_error->content;
|
||||
} else {
|
||||
diag $self->tx->res->to_string;
|
||||
}
|
||||
|
|
Reference in a new issue