1 package AuthRealmTestAppProgressive;
6 ### using A::Store::minimal with new style realms
7 ### makes the app blow up, since c::p::a::s::minimal
8 ### isa c:a::s::minimal, and it's compat setup() gets
9 ### run, with an unexpected config has (realms on top,
10 ### not users). This tests makes sure the app no longer
11 ### blows up when this happens.
14 Authentication::Store::Minimal
19 bob => { password => "s00p3r" }
22 sally => { password => "s00p3r" }
26 __PACKAGE__->config('Plugin::Authentication' => {
27 default_realm => 'progressive',
29 class => 'Progressive',
30 realms => [ 'other', 'members' ],
35 password_field => 'password',
36 password_type => 'clear'
40 users => $members{other},
46 password_field => 'password',
47 password_type => 'clear'
51 users => $members{members},