You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
528 B
26 lines
528 B
<?php
|
|
|
|
namespace Chamilo\Tests;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
class ApplicationAvailabilityFunctionalTest extends WebTestCase
|
|
{
|
|
/**
|
|
* @dataProvider urlProvider
|
|
*/
|
|
public function testPageIsSuccessful($url)
|
|
{
|
|
$client = self::createClient();
|
|
$client->request('GET', $url);
|
|
|
|
$this->assertResponseIsSuccessful();
|
|
}
|
|
|
|
public function urlProvider()
|
|
{
|
|
yield ['/'];
|
|
yield ['/login'];
|
|
yield ['/main/auth/lostPassword.php'];
|
|
}
|
|
} |