Skip to content

Commit df688a1

Browse files
chore: updated failing test
1 parent c67087f commit df688a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/IntegrationTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,9 @@ public function testChannelAddModerators()
976976

977977
public function testChannelMarkRead()
978978
{
979-
$response = $this->channel->markRead($this->user1["id"]);
979+
$channelMember = $this->getUser();
980+
$this->channel->addMembers([$channelMember["id"]]);
981+
$response = $this->channel->markRead($channelMember["id"]);
980982
$this->assertTrue(array_key_exists("event", (array)$response));
981983
$this->assertSame($response["event"]["type"], "message.read");
982984
}

0 commit comments

Comments
 (0)