mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix failing tests
This commit is contained in:
@@ -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()), [
|
||||
|
||||
Reference in New Issue
Block a user