10 use Plack::Session::State::Cookie;
11 use Plack::Session::Store::File;
13 use t::lib::TestSessionHash;
15 my $TMP = File::Spec->catdir('t', 'tmp');
20 t::lib::TestSessionHash::run_all_tests(
21 store => Plack::Session::Store::File->new( dir => $TMP ),
22 state => Plack::Session::State->new,
24 open my $in, '<', \do { my $d };
26 'psgi.version' => [ 1, 0 ],
28 'psgi.errors' => *STDERR,
29 'psgi.url_scheme' => 'http',
31 REQUEST_METHOD => 'GET',
32 QUERY_STRING => join "&" => map { $_ . "=" . $_[0]->{ $_ } } keys %{$_[0] || +{}},
37 unlink $_ foreach glob( File::Spec->catdir($TMP, '*') );