plan tests => 8;
- $ENV{TESTAPP_CONFIG} = {
+ use TestApp;
+ TestApp->config( {
name => 'TestApp',
'Plugin::Authentication' => {
default => {
password_type => 'clear'
}
}
- };
+ } );
- $ENV{TESTAPP_PLUGINS} = [
+ TestApp->setup(
qw/Authentication
Authorization::Roles
/
- ];
+ );
}
use Catalyst::Test 'TestApp';