In my test, I use assertSee().
$message = '<h1>Header</h1>';
$response = $this->get($url);
$response->assertStatus(200);
$response->assertSee($message);
The problem is that when the $message
contains html entities then the assertion gets false.
I know there is an e()
helper to do convert html entities in $message but now I need the opposite.
How can I do it?