mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 21:18:00 +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!")'));
|
||
|
}
|
||
|
|
||
|
}
|