nginx-rtmp-auth/tests/DeblanRtmpBundle/Controller/DefaultControllerTest.php

18 lines
388 B
PHP

<?php
namespace Deblan\Bundle\RtmpBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/');
$this->assertContains('Hello World', $client->getResponse()->getContent());
}
}