Skip to content

Commit a606918

Browse files
committed
fix: try to fix tests
1 parent 7d6c896 commit a606918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/IntegrationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function testDeleteChannels()
281281
$this->assertSame($response["result"][$c2->getCID()]["status"], "ok");
282282
return;
283283
}
284-
usleep(300000);
284+
usleep(500000);
285285
}
286286
$this->assertSame($response["status"], "completed");
287287
}
@@ -305,7 +305,7 @@ public function testDeactivateReactivateUsers()
305305
if ($response["status"] == "completed") {
306306
break;
307307
}
308-
usleep(300000);
308+
usleep(500000);
309309
}
310310

311311
// Since we don't want to test the backend functionality, just
@@ -1205,7 +1205,7 @@ public function testPartialUpdateUsers()
12051205

12061206
public function testPartialUpdateUserWithTeam()
12071207
{
1208-
$user = ["id" => $this->generateGuid(), "name" => "Test User"];
1208+
$user = ["id" => $this->generateGuid(), "name" => "Test User", "teams" => ["blue"]];
12091209
$response = $this->client->upsertUser($user);
12101210
$this->assertTrue(array_key_exists("users", (array)$response));
12111211
$this->assertTrue(array_key_exists($user["id"], $response["users"]));

0 commit comments

Comments
 (0)