1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00
This commit is contained in:
prateek banga 2023-08-23 15:36:12 +05:30
parent c225563d77
commit 55d00d9afa

View file

@ -148,7 +148,8 @@ class MessagingServerTest extends Scope
/**
* @depends testUpdateProviders
*/
public function testListProviders(array $providers) {
public function testListProviders(array $providers)
{
$response = $this->client->call(Client::METHOD_GET, '/messaging/providers/', [
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
@ -161,7 +162,8 @@ class MessagingServerTest extends Scope
/**
* @depends testUpdateProviders
*/
public function testGetProvider(array $providers) {
public function testGetProvider(array $providers)
{
$response = $this->client->call(Client::METHOD_GET, '/messaging/providers/' . $providers[0]['$id'], [
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
@ -174,7 +176,8 @@ class MessagingServerTest extends Scope
/**
* @depends testUpdateProviders
*/
public function testDeleteProvider(array $providers) {
public function testDeleteProvider(array $providers)
{
foreach ($providers as $provider) {
$response = $this->client->call(Client::METHOD_DELETE, '/messaging/providers/' . $provider['$id'], [
'content-type' => 'application/json',