From cbc12d3717bcc91eef19c64594d97540b9aea51d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 30 Jan 2026 08:54:41 +0000 Subject: [PATCH 1/2] Initial plan From c52efc232eae7831b36a1aafbf7d0fc981288971 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 30 Jan 2026 09:09:51 +0000 Subject: [PATCH 2/2] Add test for getIdentity() returning null without identity Co-authored-by: ADmad <142658+ADmad@users.noreply.github.com> --- tests/TestCase/View/Helper/IdentityHelperTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestCase/View/Helper/IdentityHelperTest.php b/tests/TestCase/View/Helper/IdentityHelperTest.php index 893418c2..b41f0162 100644 --- a/tests/TestCase/View/Helper/IdentityHelperTest.php +++ b/tests/TestCase/View/Helper/IdentityHelperTest.php @@ -90,6 +90,8 @@ public function testWithOutIdentity() $this->assertNull($helper->getId()); $this->assertFalse($helper->is(1)); + + $this->assertNull($helper->getIdentity()); } public function testGetIdentity()