Skip to content

Commit a5ee548

Browse files
committed
MAGETWO-44072: Contribute Bugfixes by Ogres
- fixing unit test
1 parent 749c20f commit a5ee548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Test/Unit/Model/Session/AdminConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function setUp()
5858
->getMock();
5959
$backendUrl = $this->getMock('\Magento\Backend\Model\Url', [], [], '', false);
6060
$backendUrl->expects($this->once())->method('getBaseUrl')->will($this->returnValue('/'));
61-
$this->backendUrlFactory = $this->getMock('Magento\Backend\Model\UrlFactory', [], [], '', false);
61+
$this->backendUrlFactory = $this->getMock('Magento\Backend\Model\UrlFactory', ['create'], [], '', false);
6262
$this->backendUrlFactory->expects($this->any())->method('create')->willReturn($backendUrl);
6363

6464
$this->filesystemMock = $this->getMock('\Magento\Framework\Filesystem', [], [], '', false);

0 commit comments

Comments
 (0)