Warning: Undefined variable $namespace in /home/ldt/public_html/canvas/udoit/vendor/symfony/maker-bundle/src/Resources/skeleton/test/WebTestCase.tpl.php on line 3
; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class
Warning: Undefined variable $class_name in /home/ldt/public_html/canvas/udoit/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', '/');
Warning: Undefined variable $web_assertions_are_available in /home/ldt/public_html/canvas/udoit/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()); } }