for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MediaMonks\SonataMediaBundle\Tests\Functional;
class AppTestAbstract extends AbstractBaseFunctionTest
{
public function testReady()
$client = static::createClient();
$client->request('GET', '/ready');
$this->assertEquals('MediaMonks Functional Test App Ready', $client->getResponse()->getContent());
}
public function testAdminDashboard()
$client = $this->getAuthenticatedClient();
$client->request('GET', '/admin/dashboard');
$this->assertContains('Dashboard', $client->getResponse()->getContent());
public function testAdminMediaListEmpty()
$this->loadFixtures([]);
$client->request('GET', '/mediamonks/sonatamedia/media/list');
$this->assertContains('No result', $client->getResponse()->getContent());