Exemplo n.º 1
0
 /**
  * @group ZF-6747
  */
 public function testViewMethodIsUsedWhenAvailableInsteadOfResourcePlugin()
 {
     $bootstrap = new TestAsset\ZfAppBootstrapCustomView($this->application);
     $this->broker->registerSpec('view');
     $view = $bootstrap->bootstrap('view')->view;
     $this->assertEquals($view->setInMethodByTest, true);
 }
Exemplo n.º 2
0
 /**
  * @group ZF-6747
  */
 public function testViewMethodIsUsedWhenAvailableInsteadOfResourcePlugin()
 {
     $this->markTestSkipped('NavigationResource has fatal error - skip this test now.');
     return;
     $bootstrap = new TestAsset\ZfAppBootstrapCustomView($this->application);
     $bootstrap->registerPluginResource('view');
     $view = $bootstrap->bootstrap('view')->view;
     $this->assertEquals($view->setInMethodByTest, true);
 }