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