Chop up - move backcompat code into the ::Plugin:: namespace, as those are what are...
[catagits/Catalyst-Plugin-Authentication.git] / t / lib / AuthSessionTestApp.pm
index 273bb55..49ec14b 100644 (file)
@@ -1,5 +1,5 @@
 package User::SessionRestoring;
-use base qw/Catalyst::Plugin::Authentication::User::Hash/;
+use base qw/Catalyst::Authentication::User::Hash/;
 
 sub for_session { $_[0]->id }
 sub store { $_[0]->{store} }
@@ -68,7 +68,7 @@ sub butterfly : Local {
     ok( !$c->user, "no user object either" );
 }
 
-__PACKAGE__->config->{authentication}{users} = $users = {
+__PACKAGE__->config->{'authentication'}{users} = $users = {
        foo => User::SessionRestoring->new(
                id => 'foo',
                password => "s3cr3t",