jeudi 23 juin 2016

Zend Unit Test terminated

I'm building my initial test setup. After a few fixes i ended up with the following error

Process finished with exit code -1073741571 (0xC00000FD)

This happenend after i fixed "Route default-index-index is not defined" by making my application/controller/IndexControllerTest.php extend application/ControllerTestCase.php. which still extends Zend_Test_PHPUnit_ControllerTestCase

my unit test just get termined without executing anything within my function

public function testCallWithoutActionShouldPullFromIndexAction()
{
    Throw new Exception("Atleast you reached this now"); // Never executed.
    $this->dispatch( $this->getFrontController()->getBaseUrl() . '/');
    $this->assertModule('default');
    $this->assertController('index');
    $this->assertAction('index');
    return;
}

Aucun commentaire:

Enregistrer un commentaire