File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Controller/Product Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class CompareTest extends AbstractController
3737 private $ visitor ;
3838
3939 /** @var ParametersFactory */
40- private $ parameters ;
40+ private $ parametersFactory ;
4141
4242 /**
4343 * @inheritDoc
@@ -50,7 +50,7 @@ protected function setUp(): void
5050 $ this ->productRepository = $ this ->_objectManager ->get (ProductRepository::class);
5151 $ this ->customerSession = $ this ->_objectManager ->get (Session::class);
5252 $ this ->visitor = $ this ->_objectManager ->get (Visitor::class);
53- $ this ->parameters = $ this ->_objectManager ->get (ParametersFactory::class);
53+ $ this ->parametersFactory = $ this ->_objectManager ->get (ParametersFactory::class);
5454 }
5555
5656 /**
@@ -285,7 +285,7 @@ public function testAddNotExistingProductToCompareList(): void
285285 */
286286 private function prepareReferer (): void
287287 {
288- $ parameters = $ this ->parameters ->create ();
288+ $ parameters = $ this ->parametersFactory ->create ();
289289 $ parameters ->set ('HTTP_REFERER ' , 'http://localhost/not_existing ' );
290290 $ this ->getRequest ()->setServer ($ parameters );
291291 }
You can’t perform that action at this time.
0 commit comments