add some tests to t/cat_test.t
[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,
2a1463db 13
1b41775a 14 },
15
16 'Plugin::Authentication' => {
17 default => {
18 credential => {
19 class => 'Password',
20 password_field => 'password',
21 password_type => 'clear'
22 },
23 store => {
24 class => 'Minimal',
25 users => {
26 bob => {
27 password => "s00p3r",
28 },
29 william => {
30 password => "s3cr3t",
31 },
32 },
33 },
34 },
35 },
36);
06c621b5 37
300eb468 38__PACKAGE__->setup;
39
40__PACKAGE__;
41