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
37
37
private $ visitor ;
38
38
39
39
/** @var ParametersFactory */
40
- private $ parameters ;
40
+ private $ parametersFactory ;
41
41
42
42
/**
43
43
* @inheritDoc
@@ -50,7 +50,7 @@ protected function setUp(): void
50
50
$ this ->productRepository = $ this ->_objectManager ->get (ProductRepository::class);
51
51
$ this ->customerSession = $ this ->_objectManager ->get (Session::class);
52
52
$ this ->visitor = $ this ->_objectManager ->get (Visitor::class);
53
- $ this ->parameters = $ this ->_objectManager ->get (ParametersFactory::class);
53
+ $ this ->parametersFactory = $ this ->_objectManager ->get (ParametersFactory::class);
54
54
}
55
55
56
56
/**
@@ -285,7 +285,7 @@ public function testAddNotExistingProductToCompareList(): void
285
285
*/
286
286
private function prepareReferer (): void
287
287
{
288
- $ parameters = $ this ->parameters ->create ();
288
+ $ parameters = $ this ->parametersFactory ->create ();
289
289
$ parameters ->set ('HTTP_REFERER ' , 'http://localhost/not_existing ' );
290
290
$ this ->getRequest ()->setServer ($ parameters );
291
291
}
You can’t perform that action at this time.
0 commit comments