Skip to content

Commit 7ee30f7

Browse files
committed
Add resilience to false positive test
1 parent 5013e16 commit 7ee30f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sprinkle-account/app/tests/Controller/LoginActionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function testLogin(): void
7373

7474
// Assert response status & body
7575
$this->assertJsonResponse($user->apiData, $response, 'user');
76-
$this->assertJsonResponse('Welcome back, ' . $user->full_name . '!', $response, 'message');
76+
$this->assertJsonResponse('Welcome back, ' . html_entity_decode($user->full_name) . '!', $response, 'message');
7777
$this->assertJsonResponse('/home', $response, 'redirect');
7878
$this->assertResponseStatus(200, $response);
7979

0 commit comments

Comments
 (0)