1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

tests: remove arbritary tests

This commit is contained in:
Torsten Dittmann 2023-08-30 15:49:15 +02:00
parent e507fb6715
commit 3d8125c4ac

View file

@ -48,18 +48,6 @@ class FunctionsConsoleClientTest extends Scope
$this->assertEquals(400, $response['headers']['status-code']);
$response = $this->client->call(Client::METHOD_POST, '/functions', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'functionId' => ID::unique(),
'name' => 'Test Failure - Entrypoint',
'execute' => [Role::user($this->getUser()['$id'])->toString()],
'runtime' => 'php-8.0'
]);
$this->assertEquals(400, $response['headers']['status-code']);
return [
'functionId' => $function['body']['$id']
];