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