Skip to content

Commit

Permalink
Fix coding standards in Case/Event
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 13, 2012
1 parent 8b797b2 commit b2d393e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Cake/Test/Case/Event/CakeEventManagerTest.php
Expand Up @@ -59,6 +59,7 @@ public function secondListenerFunction() {
public function stopListener($event) {
$event->stopPropagation();
}

}

/**
Expand Down Expand Up @@ -87,6 +88,7 @@ public function implementedEvents() {
public function thirdListenerFunction() {
$this->callStack[] = __FUNCTION__;
}

}

/**
Expand Down Expand Up @@ -270,7 +272,6 @@ public function testDispatchFalseStopsEvent() {
$this->assertTrue($event->isStopped());
}


/**
* Tests event dispatching using priorities
*
Expand Down Expand Up @@ -316,7 +317,7 @@ public function testAttachSubscriber() {
$listener = $this->getMock('CustomTestEventListerner', array('secondListenerFunction'));
$manager->attach($listener);
$event = new CakeEvent('fake.event');

$manager->dispatch($event);

$expected = array('listenerFunction');
Expand Down Expand Up @@ -402,4 +403,4 @@ public function testStopPropagation() {
$expected = array('secondListenerFunction');
$this->assertEquals($expected, $listener->callStack);
}
}
}

0 comments on commit b2d393e

Please sign in to comment.