Skip to content

Commit

Permalink
update tests/ZendTest/Mvc/ApplicationTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jul 22, 2013
1 parent 080c7b9 commit 4e7165a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ZendTest/Mvc/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -665,13 +665,13 @@ public function testCustomListener()
{
$this->application->bootstrap(array('BootstrapListener'));

// must contains custom bootstrap listeners
// must contain custom bootstrap listeners
$bootstrapListener = $this->serviceManager->get('BootstrapListener');
$listeners = $this->application->getEventManager()->getListeners(MvcEvent::EVENT_BOOTSTRAP);
$bootstrapListeners = $bootstrapListener->getListeners();
$this->assertTrue($listeners->contains($bootstrapListeners[0]));

// must contains default listeners
// must contain default listeners
$listeners = $this->application->getEventManager()->getListeners(MvcEvent::EVENT_DISPATCH);
$this->assertEquals(1, count($listeners));

Expand Down

0 comments on commit 4e7165a

Please sign in to comment.