Session data in phpunittest

@KevinPfeifer Kevin Pfeifer
Tue, 03 Sep 2024 14:13:28 +0000

You misunderstand how $this->session() works.

It sets the HTTP Sessions for the next Integration Test call (like $this->get() or $this->post()) but does NOT directly write to the $_SESSION superglobal.