From cf001bc886d60dd609cfddcfc92c48e1d24509b8 Mon Sep 17 00:00:00 2001 From: Nick Davis Date: Thu, 14 Nov 2024 17:36:42 +0000 Subject: [PATCH] test actorToken --- .../Service/Lpa/AccessForAll/AccessForAllValidationTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service-api/app/test/AppTest/Service/Lpa/AccessForAll/AccessForAllValidationTest.php b/service-api/app/test/AppTest/Service/Lpa/AccessForAll/AccessForAllValidationTest.php index 79b938b0ea..df0702735b 100644 --- a/service-api/app/test/AppTest/Service/Lpa/AccessForAll/AccessForAllValidationTest.php +++ b/service-api/app/test/AppTest/Service/Lpa/AccessForAll/AccessForAllValidationTest.php @@ -137,6 +137,7 @@ public function serializes_as_expected(): void $sut = new AccessForAllValidation( $this->actorMatch, $this->lpa, + 'myActorToken' ); $jsonString = '{ @@ -171,7 +172,8 @@ public function serializes_as_expected(): void "uId": "700000000012" }, "lpa-id": "700000000011", - "role": "attorney" + "role": "attorney", + "lpaActorToken": "myActorToken" }'; $this->assertJsonStringEqualsJsonString($jsonString, json_encode($sut)); }