mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-12-01 17:17:59 +01:00
19 lines
341 B
PHP
19 lines
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!")'));
|
||
|
}
|
||
|
|
||
|
}
|