add type with coersion for WebGUI::Config
This commit is contained in:
parent
19c2c5fa1c
commit
8bfa022441
4 changed files with 16 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ use HTTP::Request::Common;
|
|||
use Test::More tests => 9;
|
||||
use HTTP::Exception;
|
||||
|
||||
my $wg = WebGUI->new(site => WebGUI::Test->file);
|
||||
my $wg = WebGUI->new(config => WebGUI::Test->config);
|
||||
|
||||
my $regular_app = builder {
|
||||
enable '+WebGUI::Middleware::Session', config => $wg->config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue