Updated

---

Oscar Fanelli
Gamempire.it - Creatore e Direttore esecutivo
Tom's Hardware Italia - Sviluppatore

Email: nesis@gamempire.it
Email secondaria: admin@gamempire.it
Skype: gamempire
Tel: 3388696167

Il giorno 14/mar/2014, alle ore 19:34, Marco Pivetta <notifications@github.com> ha scritto:

> In tests/ZendTest/Mvc/Controller/Plugin/RedirectTest.php:
> 
> > @@ -177,4 +177,12 @@ public function testPluginCanRedirectToRouteWithNullWhenProperlyConfigured()
> >          $location = $headers->get('Location');
> >          $this->assertEquals('/', $location->getFieldValue());
> >      }
> > +
> > +    public function testPluginWithCustomStatusCode()
> > +    {
> > +        $controller = new SampleController();
> > +        $plugin     = $controller->plugin('redirect');
> > +        $this->setExpectedException('Zend\Mvc\Exception\DomainException', 'event compose');
> Why are you expecting an exception here?
> 
> —
> Reply to this email directly or view it on GitHub.
>