Notice: Undefined variable: namespace in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/WebTestCase.tpl.php on line 3
; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class
Notice: Undefined variable: class_name in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/WebTestCase.tpl.php on line 7
extends WebTestCase { public function testSomething(): void { $client = static::createClient(); $crawler = $client->request('GET', '/');
Notice: Undefined variable: web_assertions_are_available in /home/developer/public_html/elfann.com/vendor/symfony/maker-bundle/src/Resources/skeleton/test/WebTestCase.tpl.php on line 14
$this->assertSame(200, $client->getResponse()->getStatusCode()); $this->assertStringContainsString('Hello World', $crawler->filter('h1')->text()); } }