disable(); $app['monolog'] = $this->getMock('Monolog\Logger'); return $app; } /** * @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')); } }