Slightly modified TopicTest to support new broadcast params
This commit is contained in:
parent
0b5208507f
commit
646c2e263a
@ -57,7 +57,7 @@ class TopicTest extends \PHPUnit_Framework_TestCase {
|
|||||||
$topic->add($first);
|
$topic->add($first);
|
||||||
$topic->add($second);
|
$topic->add($second);
|
||||||
|
|
||||||
$topic->broadcast($msg);
|
$topic->broadcast($msg, array(), array());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testIterator() {
|
public function testIterator() {
|
||||||
@ -109,4 +109,4 @@ class TopicTest extends \PHPUnit_Framework_TestCase {
|
|||||||
protected function newConn() {
|
protected function newConn() {
|
||||||
return new WampConnection($this->getMock('\\Ratchet\\ConnectionInterface'));
|
return new WampConnection($this->getMock('\\Ratchet\\ConnectionInterface'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user