File: basic.t

package info (click to toggle)
libcatalyst-plugin-session-store-redis-perl 0.901-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: perl: 106; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;

use FindBin qw/$Bin/;
use lib "$Bin/lib";

use Test::More;

BEGIN {
    defined($ENV{SESSION_STORE_REDIS_URL}) or plan skip_all => 'Must set SESSION_STORE_REDIS_URL environment variable';
}

use Catalyst::Test "SessionStoreTest";

my $x = get("/store_scalar");
is(get('/get_scalar'), 456, 'Can store scalar value okay');