X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=t%2Fbasic.t;h=6d96eef2bf66b07e3f677db9f1db84b45506e84e;hp=60f1377c020345bcf3073ed16901d20b27093475;hb=HEAD;hpb=b6fda7bbdcf3eab275dad1fcaf9a9fcf55b7e603 diff --git a/t/basic.t b/t/basic.t index 60f1377..6d96eef 100644 --- a/t/basic.t +++ b/t/basic.t @@ -1,5 +1,3 @@ -#!/usr/bin/perl - use strict; use warnings; @@ -80,7 +78,14 @@ $cxt->set_session_id($sessionid); ok( $cookies_called, "response cookie was set when sessionid changed" ); is_deeply( \%res_cookies, - { session => { value => $sessionid, httponly => 1, expires => 123 } }, + { + session => { + value => $sessionid, + httponly => 1, + expires => 123, + samesite => 'Lax', + }, + }, "cookie was set correctly" );