Pony.fm/app/tests/ExampleTest.php

19 lines
341 B
PHP
Raw Normal View History

2013-07-25 23:33:04 +02:00
<?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!")'));
}
}