tests: fix teams tests
This commit is contained in:
parent
c1ba898cec
commit
7020c85f78
2 changed files with 2 additions and 2 deletions
|
@ -1462,7 +1462,7 @@ class RealtimeCustomClientTest extends Scope
|
|||
/**
|
||||
* Test Team Update Prefs
|
||||
*/
|
||||
$team = $this->client->call(Client::METHOD_PATCH, '/teams/' . $teamId . '/prefs', array_merge([
|
||||
$team = $this->client->call(Client::METHOD_PUT, '/teams/' . $teamId . '/prefs', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $projectId,
|
||||
], $this->getHeaders()), [
|
||||
|
|
|
@ -784,7 +784,7 @@ trait WebhooksBase
|
|||
{
|
||||
$id = $data['teamId'] ?? '';
|
||||
|
||||
$team = $this->client->call(Client::METHOD_PATCH, '/teams/' . $id . '/prefs', array_merge([
|
||||
$team = $this->client->call(Client::METHOD_PUT, '/teams/' . $id . '/prefs', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
'x-appwrite-project' => $this->getProject()['$id'],
|
||||
], $this->getHeaders()), [
|
||||
|
|
Loading…
Reference in a new issue