Skip to content

Commit a3bfdd9

Browse files
author
Michael Logvin
committed
MAGETWO-33053: MTF Configuration pull request
1 parent d19e08a commit a3bfdd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Bundle/Test/Handler/Curl/CreateBundle.php

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

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

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
@@ -113,7 +113,7 @@ public function persist(FixtureInterface $fixture = null)
113113
$curl->close();
114114

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

0 commit comments

Comments
 (0)