Exemple #1
0
 /**
  * ZF-2435
  */
 public function testCanRemoveIndividualModuleDirectory()
 {
     $moduleDir = __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR . 'modules';
     $this->_controller->addModuleDirectory($moduleDir);
     $controllerDirs = $this->_controller->getControllerDirectory();
     $this->_controller->removeControllerDirectory('foo');
     $test = $this->_controller->getControllerDirectory();
     $this->assertNotEquals($controllerDirs, $test);
     $this->assertFalse(array_key_exists('foo', $test));
 }