Skip to content

Commit

Permalink
fix: null channelId
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyPettersson85 committed Dec 4, 2024
1 parent fa7df31 commit 1d1ecb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ public function testQueryMembersMemberBasedChannel()
$this->client->upsertUsers([$bob, $bobSponge]);
$channel = $this->client->Channel(
"messaging",
null,
"",
["members" => [$bob["id"], $bobSponge["id"]]]
);
$channel->create($bob["id"]);
Expand Down Expand Up @@ -767,7 +767,7 @@ public function testChannelCreateWithoutId()
$user_ids = [$this->user1["id"], $this->user2["id"]];
$channel = $this->client->Channel(
"messaging",
null,
"",
["members" => $user_ids]
);
$this->assertNull($channel->id);
Expand Down

0 comments on commit 1d1ecb5

Please sign in to comment.