1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/perl
use strict;
use warnings;
use File::Temp;
use File::Spec;
use Catalyst::Plugin::Session::Test::Store (
backend => "FastMmap",
config => { storage => scalar( File::Temp::tmpnam() ) },
# we do not care in this package about deleting temporary file as it is
# removed automatically by Cache::FastMmap
extra_tests => 1
);
{
package SessionStoreTest;
use Catalyst;
# we don't call ->setup because C::P::Session::Test::Store above
# calls it for us. -- apeiron, 2012-01-25
}
1;
|