From 7bbf368a38cc984526738dc6ae894606ad140f04 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 10 Dec 2020 09:38:20 +0200 Subject: [PATCH] Updated logs --- tests/e2e/Services/Functions/FunctionsCustomServerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 81e9499fb8..cc05d43dbb 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -539,6 +539,9 @@ class FunctionsCustomServerTest extends Scope 'content-type' => 'application/json', 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders())); + + var_dump($executions['body']['executions'][0]['stdout']); + var_dump($executions['body']['executions'][0]['stderr']); $this->assertEquals($executions['headers']['status-code'], 200); $this->assertEquals($executions['body']['sum'], 1); @@ -550,9 +553,6 @@ class FunctionsCustomServerTest extends Scope $this->assertEquals($executions['body']['executions'][0]['exitCode'], 0); $stdout = explode("\n", $executions['body']['executions'][0]['stdout']); - - var_dump($executions['body']['executions'][0]['stdout']); - var_dump($executions['body']['executions'][0]['stderr']); $this->assertEquals($stdout[0], $functionId); $this->assertEquals($stdout[1], 'Test '.$name);