Skip to content

Commit 6e4a8ac

Browse files
committed
2 parents f87e32d + 2b2bafc commit 6e4a8ac

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ before_install:
1818
echo "${DOCKERHUB_PULL_PASSWORD}" | docker login --username "${DOCKERHUB_PULL_USERNAME}" --password-stdin
1919
fi
2020
21+
2122
install:
2223
- docker --version
2324
- composer install

tests/SDKTest.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@ public function testHTTPSuccess()
240240
echo "Executing: {$command}\n";
241241

242242
$output = [];
243+
244+
ob_end_clean();
245+
var_dump('Build Executing: '.$command);
246+
ob_start();
247+
243248
exec($command, $output);
244249

245250
foreach($output as $i => $row) {
@@ -255,7 +260,11 @@ public function testHTTPSuccess()
255260
echo "Running tests for the {$key} environment...\n";
256261

257262
$output = [];
258-
263+
264+
ob_end_clean();
265+
var_dump('Env Executing: '.$command);
266+
ob_start();
267+
259268
exec($command, $output);
260269

261270
foreach($output as $i => $row) {

tests/languages/cli/test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
$baseCommand = "docker run -i --rm --volume cli:/usr/local/code/app/.preferences/";
4-
$envVars = "-e endpoint=https://appwrite.io/v1 -e X-Appwrite-Project=6013fbefdfa41 -e X-Appwrite-Key=35y3h5h345 -e X-Appwrite-Locale=en-US";
4+
$envVars = "";
55

66
// Initialise the CLI
7-
$command = "${baseCommand} ${envVars} cli init";
7+
$command = "${baseCommand} ${envVars} cli init --endpoint=https://appwrite.io/v1 --project=6013fbefdfa41 --key=35y3h5h345 --locale=en-US";
88
$output = [];
99
exec($command, $output);
1010

0 commit comments

Comments
 (0)