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/phpunit/LearnpathControllerTest.php

19 lines
534 B

<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-03-07 at 12:15:50.
*/
class LearnpathControllerTest extends BaseWebTestCase
{
/**
* @covers ChamiloLMS\Controller\LearnpathController::indexAction
* @todo Implement testIndexAction().
*/
public function testIndexAction()
{
$client = $this->createClient();
$crawler = $client->request('GET', '/');
$this->assertTrue($client->getResponse()->isOk());
$this->assertCount(1, $crawler->filter('form'));
}
}