Pony.fm/app/tests/ExampleTest.php
2013-07-25 16:33:12 -05:00

19 lines
No EOL
341 B
PHP

<?php
class ExampleTest extends TestCase {
/**
* A basic functional test example.
*
* @return void
*/
public function testBasicExample()
{
$crawler = $this->client->request('GET', '/');
$this->assertTrue($this->client->getResponse()->isOk());
$this->assertCount(1, $crawler->filter('h1:contains("Hello World!")'));
}
}