From: <gem...@li...> - 2012-01-02 13:07:50
|
Revision: 393 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=393&view=rev Author: mennodekker Date: 2012-01-02 13:07:44 +0000 (Mon, 02 Jan 2012) Log Message: ----------- forgot to cleanup the unit tests Modified Paths: -------------- trunk/test/classes/IndexControllerTest.php Modified: trunk/test/classes/IndexControllerTest.php =================================================================== --- trunk/test/classes/IndexControllerTest.php 2012-01-02 12:35:23 UTC (rev 392) +++ trunk/test/classes/IndexControllerTest.php 2012-01-02 13:07:44 UTC (rev 393) @@ -23,8 +23,7 @@ * * At the moment we only set a salt in the project resource */ - public function _fixSetup() { - $this->bootstrap->bootstrap(); + protected function _fixSetup() { $project = $this->bootstrap->getBootstrap()->getResource('project'); $project->salt = 'TESTCASE'; } @@ -48,9 +47,6 @@ { $this->_fixSetup(); $this->dispatch('/index/login'); - $reponse = $this->getFrontController()->getResponse(); - var_dump($reponse->getBody()); - $this->assertController('index'); $this->assertAction('login'); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |