11 use Plack::Session::State::Cookie;
12 use Plack::Session::Store::File;
14 use t::lib::TestSession;
16 my $TMP = File::Spec->catdir('t', 'tmp');
21 t::lib::TestSession::run_all_tests(
22 store => Plack::Session::Store::File->new( dir => $TMP ),
23 state => Plack::Session::State->new,
24 request_creator => sub {
25 open my $in, '<', \do { my $d };
27 'psgi.version' => [ 1, 0 ],
29 'psgi.errors' => *STDERR,
30 'psgi.url_scheme' => 'http',
32 REQUEST_METHOD => 'GET',
34 my $r = Plack::Request->new( $env );
40 unlink $_ foreach glob( File::Spec->catdir($TMP, '*') );