Ejemplo n.º 1
0
 public function testInit()
 {
     $view = new Zend_ViewTest_Extension();
     $this->assertEquals('bar', $view->foo);
     $paths = $view->getScriptPaths();
     $this->assertEquals(1, count($paths));
     $this->assertEquals(dirname(__FILE__) . '/View/_templates/', $paths[0]);
 }
Ejemplo n.º 2
0
 public function testInit()
 {
     $view = new Zend_ViewTest_Extension();
     $this->assertEquals('bar', $view->foo);
     $paths = $view->getScriptPaths();
     $this->assertEquals(1, count($paths));
     $this->assertEquals(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'View' . DIRECTORY_SEPARATOR . '_templates' . DIRECTORY_SEPARATOR, $paths[0]);
 }