Skip to content

Commit 2e25898

Browse files
author
Michael Logvin
committed
MAGETWO-33053: MTF Configuration pull request
1 parent 19115a6 commit 2e25898

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/functional/lib/Magento/Mtf/Util/Protocol/CurlTransport/BackendDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function authorize()
7575
$response = $this->read();
7676
if (strpos($response, 'page-login')) {
7777
throw new \Exception(
78-
'Admin user cannot be logged in by curl handler! URL: ' . $url . 'DATA: ' . implode(' ', $data)
78+
'Admin user cannot be logged in by curl handler!'
7979
);
8080
}
8181
}

dev/tests/functional/tests/app/Magento/Catalog/Test/Handler/Curl/CreateProduct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function persist(FixtureInterface $fixture = null)
114114
$curl->close();
115115

116116
if (!strpos($response, 'data-ui-id="messages-message-success"')) {
117-
throw new \Exception("Product creation by curl handler was not successful! Response: $response URL: $url");
117+
throw new \Exception("Product creation by curl handler was not successful! Response: $response");
118118
}
119119
preg_match("~Location: [^\s]*\/id\/(\d+)~", $response, $matches);
120120
return isset($matches[1]) ? $matches[1] : null;

0 commit comments

Comments
 (0)