Use HttpFoundation

This commit is contained in:
2026-01-04 20:15:05 +01:00
parent b3b1718d62
commit 930a4b6772
3 changed files with 22 additions and 3 deletions

View File

@ -13,5 +13,15 @@ class IndexTest extends TestCase
$this->assertEquals('Hello Poopiebutt', $content);
}
public function testHelloNoParam(): void
{
unset($_GET['name']);
ob_start();
include 'index.php';
$content = ob_get_clean();
$this->assertEquals('Hello Dingo', $content);
}
}