Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
[#3650] Fix failing test
Browse files Browse the repository at this point in the history
- Override getEventManager() in test asset so that we can test
  injection, as parent was lazy initializing an EM instance.
  • Loading branch information
weierophinney committed Feb 1, 2013
1 parent a4353b8 commit 93d7089
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/ZendTest/Mvc/Service/TestAsset/Dispatchable.php
Expand Up @@ -5,4 +5,11 @@

class Dispatchable extends AbstractActionController
{
/**
* Override, so we can test injection
*/
public function getEventManager()
{
return $this->events;
}
}

0 comments on commit 93d7089

Please sign in to comment.