refactor: remove stdins from the command logs

This commit is contained in:
Saw-jan
2024-07-09 11:48:03 +05:45
parent 78ca9bacf9
commit 13b428ecae
5 changed files with 23 additions and 21 deletions
+3 -4
View File
@@ -32,15 +32,14 @@ use TestHelpers\OcisConfigHelper;
* A helper class for running oCIS CLI commands
*/
class CliHelper {
/**
* @param array $body
*
* @return ResponseInterface
* @throws GuzzleException
*/
public static function runCommand(array $body): ResponseInterface {
public static function runCommand(array $body): ResponseInterface {
$url = OcisConfigHelper::getWrapperUrl() . "/command";
return OcisConfigHelper::sendRequest($url, "POST", \json_encode($body));
}
}
}
}