Skip to content

Commit c0db1c2

Browse files
committed
MAGETWO-52923: Switching to Varnish causes category menu to force HTTPS links
- add getHttpHost to mock in unit test
1 parent 57aada3 commit c0db1c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/App/Test/Unit/Config/ScopePoolTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ protected function setUp()
6868
'setParams',
6969
'getCookie',
7070
'isSecure',
71-
'getServer'
71+
'getServer',
72+
'getHttpHost'
7273
]
7374
)->getMock();
7475
$reflection = new \ReflectionClass(get_class($this->_object));

0 commit comments

Comments
 (0)