Skip to content

Commit 33480a2

Browse files
author
Michael Logvin
committed
MAGETWO-33053: MTF Configuration pull request
1 parent ae5ab15 commit 33480a2

File tree

1 file changed

+3
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Backend/Test/Handler

1 file changed

+3
-1
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/Handler/Extractor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ public function __construct($url, $regExpPattern, $isAll = false)
6262
*/
6363
public function getData()
6464
{
65+
/** @var \Magento\Mtf\Config $config */
66+
$config = \Magento\Mtf\ObjectManagerFactory::getObjectManager()->get('Magento\Mtf\Config');
6567
$url = $_ENV['app_backend_url'] . $this->url;
66-
$curl = new BackendDecorator(new CurlTransport(), $this->_configuration);
68+
$curl = new BackendDecorator(new CurlTransport(), $config);
6769
$curl->addOption(CURLOPT_HEADER, 1);
6870
$curl->write(CurlInterface::POST, $url, '1.0');
6971
$response = $curl->read();

0 commit comments

Comments
 (0)