Fixed so that session_expires == stored session expires
[catagits/Catalyst-Plugin-Session.git] / t / lib / SessionTestApp.pm
CommitLineData
064c3709 1#!/usr/bin/env perl
300eb468 2
3package SessionTestApp;
1b41775a 4use Catalyst qw/Session Session::Store::Dummy Session::State::Cookie Authentication/;
300eb468 5
6use strict;
7use warnings;
8
064c3709 9__PACKAGE__->config('Plugin::Session' => {
1b41775a 10 # needed for live_verify_user_agent.t; should be harmless for other tests
11 verify_user_agent => 1,
12 verify_address => 1,
1b41775a 13 },
14
15 'Plugin::Authentication' => {
16 default => {
17 credential => {
18 class => 'Password',
19 password_field => 'password',
20 password_type => 'clear'
21 },
22 store => {
23 class => 'Minimal',
24 users => {
25 bob => {
26 password => "s00p3r",
27 },
28 william => {
29 password => "s3cr3t",
30 },
31 },
32 },
33 },
34 },
35);
06c621b5 36
300eb468 37__PACKAGE__->setup;
38
39__PACKAGE__;
40