Skip to content

Commit

Permalink
feat: adding test
Browse files Browse the repository at this point in the history
  • Loading branch information
totalimmersion committed Dec 5, 2024
1 parent db7b961 commit 51b4a65
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/integration/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1372,4 +1372,13 @@ public function testChannelArchive()
$this->assertCount(1, $response["channels"]);
$this->assertEquals($this->channel->getCID(), $response["channels"][0]["channel"]["cid"]);
}
}

public function testChannelUpdateMemberPartial()
{
$this->channel->addMembers([$this->user1["id"]]);
$response = $this->channel->updateMemberPartial($this->user1["id"], ["hat" => "blue"]);
print_r($response);

$response = $this->channel->updateMemberPartial($this->user1["id"], ["color" => "red"], ["hat"]);
}
}

0 comments on commit 51b4a65

Please sign in to comment.