We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67087f commit df688a1Copy full SHA for df688a1
tests/integration/IntegrationTest.php
@@ -976,7 +976,9 @@ public function testChannelAddModerators()
976
977
public function testChannelMarkRead()
978
{
979
- $response = $this->channel->markRead($this->user1["id"]);
+ $channelMember = $this->getUser();
980
+ $this->channel->addMembers([$channelMember["id"]]);
981
+ $response = $this->channel->markRead($channelMember["id"]);
982
$this->assertTrue(array_key_exists("event", (array)$response));
983
$this->assertSame($response["event"]["type"], "message.read");
984
}
0 commit comments