lots of test fixes
This commit is contained in:
parent
0d311117e2
commit
30657d61f7
21 changed files with 75 additions and 87 deletions
|
|
@ -1,15 +1,16 @@
|
|||
# Test what happens when the WebGUI PSGI app throws exceptions
|
||||
use strict;
|
||||
use FindBin;
|
||||
use lib "$FindBin::Bin/../../lib";
|
||||
use lib "$FindBin::Bin/../lib";
|
||||
use WebGUI;
|
||||
use WebGUI::Test;
|
||||
use Plack::Test;
|
||||
use Plack::Builder;
|
||||
use HTTP::Request::Common;
|
||||
use Test::More tests => 9;
|
||||
use HTTP::Exception;
|
||||
|
||||
my $wg = WebGUI->new;
|
||||
my $wg = WebGUI->new(site => WebGUI::Test->file);
|
||||
|
||||
my $regular_app = builder {
|
||||
enable '+WebGUI::Middleware::Session', config => $wg->config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue