LearnpathControllerTest.php 534 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-03-07 at 12:15:50.
  4. */
  5. class LearnpathControllerTest extends BaseWebTestCase
  6. {
  7. /**
  8. * @covers ChamiloLMS\Controller\LearnpathController::indexAction
  9. * @todo Implement testIndexAction().
  10. */
  11. public function testIndexAction()
  12. {
  13. $client = $this->createClient();
  14. $crawler = $client->request('GET', '/');
  15. $this->assertTrue($client->getResponse()->isOk());
  16. $this->assertCount(1, $crawler->filter('form'));
  17. }
  18. }