Fix failing tests

This commit is contained in:
Everly Precia Suresh
2023-03-12 20:51:03 +00:00
parent b073c51bce
commit cd7043ac58
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ class AccountCustomClientTest extends Scope
/**
* Test for Failure when disabled
*/
$response = $this->client->call(Client::METHOD_PATCH, '/projects/' . $this->getProject()['$id'] . '/oauth2', array_merge([
$response = $this->client->call(Client::METHOD_PATCH, '/project/' . $this->getProject()['$id'] . '/oauth2', array_merge([
'origin' => 'http://localhost',
'content-type' => 'application/json',
'x-appwrite-project' => 'console',
@@ -1927,7 +1927,7 @@ class ProjectsConsoleClientTest extends Scope
$data = array_merge($data, ['platformFultterWebId' => $response['body']['$id']]);
$response = $this->client->call(Client::METHOD_POST, '/projects/' . $id . '/platforms', array_merge([
$response = $this->client->call(Client::METHOD_POST, '/project/' . $id . '/platforms', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [