10 use Plack::Session::State;
11 use Plack::Session::Store::Cache;
13 use t::lib::TestSession;
23 my ($self, $key, $val ) = @_;
29 my ($self, $key ) = @_;
35 my ($self, $key ) = @_;
41 t::lib::TestSession::run_all_tests(
42 store => Plack::Session::Store::Cache->new( cache => TestCache->new ),
43 state => Plack::Session::State->new,
45 open my $in, '<', \do { my $d };
47 'psgi.version' => [ 1, 0 ],
49 'psgi.errors' => *STDERR,
50 'psgi.url_scheme' => 'http',
52 REQUEST_METHOD => 'GET',
53 QUERY_STRING => join "&" => map { $_ . "=" . $_[0]->{ $_ } } keys %{$_[0] || +{}},