Skip to content

Commit f7f9c5b

Browse files
committed
MC-22985: Fix integration test \Magento\UrlRewrite\Controller\UrlRewriteTest::testCategoryUrlRewrite
1 parent f6d2af3 commit f7f9c5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Controller/Category/CategoryUrlRewriteTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
use Magento\CatalogUrlRewrite\Model\CategoryUrlPathGenerator;
1111
use Magento\Framework\App\Config\ScopeConfigInterface;
12+
use Magento\Framework\App\Response\Http;
1213
use Magento\Framework\Registry;
1314
use Magento\Store\Model\ScopeInterface;
1415
use Magento\TestFramework\TestCase\AbstractController;
15-
use Zend\Http\Response;
1616

1717
/**
1818
* Checks category availability on storefront by url rewrite
@@ -59,7 +59,7 @@ public function testCategoryUrlRewrite(int $categoryId, string $urlPath): void
5959
$currentCategory = $this->registry->registry('current_category');
6060
$response = $this->getResponse();
6161
$this->assertEquals(
62-
Response::STATUS_CODE_200,
62+
Http::STATUS_CODE_200,
6363
$response->getHttpResponseCode(),
6464
'Response code does not match expected value'
6565
);

0 commit comments

Comments
 (0)