Skip to content

Commit 2f0ba2e

Browse files
committed
Test MGET is not interpreted as pubsub message
1 parent b539eec commit 2f0ba2e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/FunctionalTest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ public function testPing()
3434
return $client;
3535
}
3636

37+
public function testMgetIsNotInterpretedAsSubMessage()
38+
{
39+
$this->markTestIncomplete();
40+
41+
$client = $this->createClient();
42+
43+
$client->mset('message', 'message', 'channel', 'channel', 'payload', 'payload');
44+
45+
$client->mget('message', 'channel', 'payload')->then($this->expectCallableOnce());
46+
$client->on('message', $this->expectCallableNever());
47+
48+
$this->waitFor($client);
49+
}
50+
3751
/**
3852
*
3953
* @param StreamingClient $client

0 commit comments

Comments
 (0)