Skip to content

Commit f162f95

Browse files
committed
Added logs and provided support for 7.4
1 parent fc4fdfb commit f162f95

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"sort-packages": true
1010
},
1111
"require": {
12-
"php": ">7.4",
12+
"php": ">=7.4",
1313
"ext-curl": "*",
1414
"ext-dom": "*",
1515
"ext-iconv": "*",

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

etc/config/command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
try {
3232
$process->run();
3333
$output = $process->getOutput();
34+
echo $output;
3435
if (!$process->isSuccessful()) {
3536
$failureOutput = $process->getErrorOutput();
3637
if (!empty($failureOutput)) {
@@ -47,6 +48,7 @@
4748
}
4849

4950
if (checkForFilePath($output)) {
51+
echo __LINE__.$output;
5052
$output = "CLI output suppressed, filepath detected in output.";
5153
}
5254

src/Magento/FunctionalTestingFramework/DataTransport/Protocol/CurlTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function write($url, $body = [], $method = CurlInterface::POST, $headers
170170
public function read($successRegex = null, $returnRegex = null, $returnIndex = null)
171171
{
172172
$response = curl_exec($this->getResource());
173-
173+
print_r($response);
174174
if ($response === false) {
175175
throw new TestFrameworkException(curl_error($this->getResource()));
176176
}

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@ public function magentoCLI($command, $timeout = null, $arguments = null)
571571
);
572572

573573
$executor = new CurlTransport();
574+
echo "api url".$apiURL;
575+
echo "token ".WebApiAuth::getAdminToken();
576+
echo "arguments" .$arguments;
574577
$executor->write(
575578
$apiURL,
576579
[

0 commit comments

Comments
 (0)