Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/tests/CoreBundle/Controller/IndexControllerTest.php

27 lines
865 B

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\Tests\CoreBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\HttpFoundation\Response;
class IndexControllerTest extends WebTestCase
{
/*public function testIndex()
{
$client = static::createClient();
$client->request('GET', '/');
//$this->assertSame(Response::HTTP_OK, $client->getResponse()->getStatusCode());
$this->assertEquals(Response::HTTP_OK, $client->getResponse()->getStatusCode());
}*/
public function testLogin()
{
$client = static::createClient();
$client->request('GET', '/login');
//$this->assertSame(Response::HTTP_OK, $client->getResponse()->getStatusCode());
$this->assertEquals(Response::HTTP_OK, $client->getResponse()->getStatusCode());
}
}