diff --git a/service-front/app/features/context/UI/LpaContext.php b/service-front/app/features/context/UI/LpaContext.php index 3696cc0b4a..c540a94bbd 100644 --- a/service-front/app/features/context/UI/LpaContext.php +++ b/service-front/app/features/context/UI/LpaContext.php @@ -3110,9 +3110,9 @@ public function iWillNotSeeInactiveAttorneyInTheListOfAttorneys($name): void public function iRequestToViewAnLPAWithADonorWhoIsAlsoKnownAs($name): void { $this->ui->assertPageContainsText('View LPA summary'); - $this->mockApiGetLpaByIdAndGetImagesById(); $this->lpa->donor->otherNames = $name; - $this->lpa->donor->otherNames = 'Ezra'; + + $this->mockApiGetLpaByIdAndGetImagesById(); } /**