Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions

This commit is contained in:
Eldad Fux
2020-10-30 07:52:12 +02:00
36 changed files with 82 additions and 82 deletions
@@ -139,7 +139,7 @@ class ProjectsConsoleClientTest extends Scope
$this->assertEquals(400, $response['headers']['status-code']);
return $data;
return $data;
}
/**
@@ -198,7 +198,7 @@ class ProjectsConsoleClientTest extends Scope
$this->assertEquals(400, $response['headers']['status-code']);
return $data;
return $data;
}
/**
@@ -256,7 +256,7 @@ class ProjectsConsoleClientTest extends Scope
* Test for SUCCESS
*/
foreach($providers as $key => $provider) {
foreach ($providers as $key => $provider) {
$response = $this->client->call(Client::METHOD_PATCH, '/projects/'.$id.'/oauth2', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
@@ -279,7 +279,7 @@ class ProjectsConsoleClientTest extends Scope
$this->assertNotEmpty($response['body']);
$this->assertEquals($id, $response['body']['$id']);
foreach($providers as $key => $provider) {
foreach ($providers as $key => $provider) {
$this->assertEquals('AppId-'.ucfirst($key), $response['body']['usersOauth2'.ucfirst($key).'Appid']);
$this->assertEquals('Secret-'.ucfirst($key), $response['body']['usersOauth2'.ucfirst($key).'Secret']);
}