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');
18 t::lib::TestSession::run_all_tests(
19 store => Plack::Session::Store::File->new( dir => $TMP ),
20 state => Plack::Session::State->new,
21 request_creator => sub {
22 open my $in, '<', \do { my $d };
24 'psgi.version' => [ 1, 0 ],
26 'psgi.errors' => *STDERR,
27 'psgi.url_scheme' => 'http',
29 REQUEST_METHOD => 'GET',
31 my $r = Plack::Request->new( $env );
37 unlink $_ foreach glob( File::Spec->catdir($TMP, '*') );