Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit d129489

Browse files
committed
Fix api test script
1 parent afc6c4d commit d129489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/runTests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function apiPost($baseData, $url, $parameters, $private){
5858
echo "<style>*{font-family: Arial,sans-serif;}</style>";
5959
echo "<h3>Getting authentication token with user credentials</h3>";
6060
flush();
61-
$tokens = file_get_contents("http://$user:$password@$host.$path/api/pydio/keystore_generate_auth_token/php_client");
61+
$tokens = file_get_contents("http://${user}:${password}@${host}${path}/api/pydio/keystore_generate_auth_token/php_client");
6262
$data = json_decode($tokens, true);
6363
if(is_array($data)){
6464
echo "\n\nData is correctly decoded as JSON.";

0 commit comments

Comments
 (0)