Created
February 6, 2015 13:53
-
-
Save bellaajhabib/583866a2f62347bdd4ec to your computer and use it in GitHub Desktop.
hgello anis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Yoda\EventBundle\Tests\Controller; | |
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
class DefaultControllerTest extends WebTestCase | |
{ | |
public function testIndex() | |
{ | |
$client = static::createClient(); | |
$crawler = $client->request('GET', '/hello/Fabien'); | |
$this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment