Notice: Undefined variable: namespace in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\test\Functional.tpl.php on line 3
;
Notice: Undefined variable: panther_is_available in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\test\Functional.tpl.php on line 5
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class
Notice: Undefined variable: class_name in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\test\Functional.tpl.php on line 11
extends
Notice: Undefined variable: panther_is_available in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\test\Functional.tpl.php on line 11
WebTestCase
{
public function testSomething()
{
$client = static::createClient();
$crawler = $client->request('GET', '/');
Notice: Undefined variable: web_assertions_are_available in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\test\Functional.tpl.php on line 18
$this->assertSame(200, $client->getResponse()->getStatusCode());
$this->assertStringContainsString('Hello World', $crawler->filter('h1')->text());
}
}