plan tests => 8;
- $ENV{TESTAPP_CONFIG} = {
+ use TestApp;
+ TestApp->config( {
name => 'TestApp',
authentication => {
default_realm => "users",
},
},
},
- };
+ } );
- $ENV{TESTAPP_PLUGINS} = [
+ TestApp->setup(
qw/Authentication
Session
Session::Store::Dummy
Session::State::Cookie
/
- ];
+ );
}
use Test::WWW::Mechanize::Catalyst 'TestApp';