Skip to content

Commit

Permalink
Update ClientEventTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
typerandom committed Mar 10, 2015
1 parent a1562d7 commit 7827a6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/UserApp/ClientEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function setup(){
}

public function testThatEventIsEmittedOnError(){
$received_events = [];
$received_events = array();

$this->_proxy->on('success', function($sender, $call_context, $result) use (&$received_events){
$received_events[] = array('name' => 'success', 'result' => $result);
Expand All @@ -44,7 +44,7 @@ public function testThatEventIsEmittedOnError(){


public function testThatEventIsEmittedOnSuccess(){
$received_events = [];
$received_events = array();

$this->_proxy->on('success', function($sender, $call_context, $result) use (&$received_events){
$received_events[] = array('name' => 'success', 'result' => $result);
Expand All @@ -66,4 +66,4 @@ public function testThatEventIsEmittedOnSuccess(){
}
}

?>
?>

0 comments on commit 7827a6d

Please sign in to comment.