/** * Get Default Attribute Set page with curl * * @param CatalogAttributeSet $fixture * @return string */ protected function getDefaultAttributeSet(CatalogAttributeSet $fixture) { $url = $_ENV['app_backend_url'] . 'catalog/product_set/edit/id/' . $fixture->getAttributeSetId() . '/'; $curl = new BackendDecorator(new CurlTransport(), $this->_configuration); $curl->write($url, [], CurlInterface::GET); $response = $curl->read(); $curl->close(); return $response; }