Permalink
Browse files

Correct spelling mistake in class name.

  • Loading branch information...
1 parent 49ddf6a commit cd3defcc0be719b28746d979b80046ae3f40a2ec @dereuromark dereuromark committed Oct 6, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Test/Case/Event/CakeEventManagerTest.php
View
8 lib/Cake/Test/Case/Event/CakeEventManagerTest.php
@@ -68,7 +68,7 @@ public function stopListener($event) {
*
* @package Cake.Test.Case.Event
*/
-class CustomTestEventListerner extends CakeEventTestListener implements CakeEventListener {
+class CustomTestEventListener extends CakeEventTestListener implements CakeEventListener {
public function implementedEvents() {
return array(
@@ -325,7 +325,7 @@ public function testDispatchPassingParams() {
*/
public function testAttachSubscriber() {
$manager = new CakeEventManager;
- $listener = $this->getMock('CustomTestEventListerner', array('secondListenerFunction'));
+ $listener = $this->getMock('CustomTestEventListener', array('secondListenerFunction'));
$manager->attach($listener);
$event = new CakeEvent('fake.event');
@@ -339,7 +339,7 @@ public function testAttachSubscriber() {
$manager->dispatch($event);
$manager = new CakeEventManager;
- $listener = $this->getMock('CustomTestEventListerner', array('listenerFunction', 'thirdListenerFunction'));
+ $listener = $this->getMock('CustomTestEventListener', array('listenerFunction', 'thirdListenerFunction'));
$manager->attach($listener);
$event = new CakeEvent('multiple.handlers');
$listener->expects($this->once())->method('listenerFunction')->with($event);
@@ -354,7 +354,7 @@ public function testAttachSubscriber() {
*/
public function testDetachSubscriber() {
$manager = new CakeEventManager;
- $listener = $this->getMock('CustomTestEventListerner', array('secondListenerFunction'));
+ $listener = $this->getMock('CustomTestEventListener', array('secondListenerFunction'));
$manager->attach($listener);
$expected = array(
array('callable' => array($listener, 'secondListenerFunction'), 'passParams' => true)

0 comments on commit cd3defc

Please sign in to comment.