File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/Integration/Application Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ public function session_is_not_set_even_when_it_was_cleaned_and_empty(): void
3838
3939 $ response = $ client ->get (uri (ControllerWithoutSession::class));
4040 $ cookies = arr ($ response ->getHeader ('set-cookie ' )->values ?? [])
41- ->map (fn (string $ cookie ) => explode ('= ' , $ cookie )[0 ] ?? null );
41+ ->map (fn (string $ cookie ) => explode ('= ' , $ cookie )[0 ]);
4242
4343 $ this ->assertFalse ($ cookies ->contains ('tempest_session_id ' ));
4444
4545 $ response = $ client ->get (uri (ControllerWithSession::class));
4646 $ cookies = arr ($ response ->getHeader ('set-cookie ' )->values ?? [])
47- ->map (fn (string $ cookie ) => explode ('= ' , $ cookie )[0 ] ?? null );
47+ ->map (fn (string $ cookie ) => explode ('= ' , $ cookie )[0 ]);
4848
4949 $ this ->assertTrue ($ cookies ->contains ('tempest_session_id ' ));
5050
You can’t perform that action at this time.
0 commit comments