Skip to content

Commit 1a9aa2a

Browse files
committed
Simpler assert
1 parent 11b3cc9 commit 1a9aa2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Functional/ProfilerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testShowProfiler(): void
2828
$client->request('GET', '/_profiler/latest?panel=httplug');
2929
$content = $client->getResponse()->getContent();
3030
$this->assertStringContainsString(<<<HTML
31-
<div class="label httplug-stack-header-target"><span class="httplug-scheme">https://</span><span class="httplug-host">jsonplaceholder.typicode.com</span><span class="httplug-target">/posts/1</span></div>
32-
HTML, str_replace([' ', "\n"], ['', ''], $content));
31+
<span class="httplug-host">jsonplaceholder.typicode.com</span>
32+
HTML, $content);
3333
}
3434
}

0 commit comments

Comments
 (0)