1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

move debugs

This commit is contained in:
fogelito 2022-06-19 18:45:35 +03:00
parent ddc6adedbc
commit f637114a1a
2 changed files with 3 additions and 5 deletions

View file

@ -150,9 +150,6 @@ $server->onStart(function () use ($stats, $register, $containerId, &$statsDocume
'timestamp' => time(),
'value' => '{}'
]);
var_dump("***");
var_dump($document);
var_dump("***");
$statsDocument = Authorization::skip(fn () => $database->createDocument('realtime', $document));
} catch (\Throwable $th) {
@ -380,8 +377,6 @@ $server->onOpen(function (int $connection, SwooleRequest $request) use ($server,
$cache = new Cache(new RedisCache($redis));
$database = new Database(new MariaDB($db), $cache);
$database->setDefaultDatabase(App::getEnv('_APP_DB_SCHEMA', 'appwrite'));
var_dump("***getInternalId = ", $project->getInternalId());
$database->setNamespace("_{$project->getInternalId()}");
/*

View file

@ -587,6 +587,9 @@ class FunctionsCustomServerTest extends Scope
/**
* Test for SUCCESS
*/
var_dump('/functions/' . $data['functionId'] . '/executions');
$execution = $this->client->call(Client::METHOD_POST, '/functions/' . $data['functionId'] . '/executions', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],