Skip to content

Commit db3b997

Browse files
committed
MAGETWO-32953: Fix Bamboo builds
- fix tests. Removed unused argument
1 parent 6ab190d commit db3b997

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dev/tests/unit/testsuite/Magento/Sales/Helper/GuestTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ public function testLoadValidOrderNotEmptyPost()
160160
$this->cookieManagerMock->expects($this->once())
161161
->method('setPublicCookie')
162162
->with(Guest::COOKIE_NAME, $this->anything(), $metaDataMock);
163-
$responseMock = $this->getMock('Magento\Framework\App\Response\Http', [], [], '', false);
164-
$this->assertTrue($this->guest->loadValidOrder($requestMock, $responseMock));
163+
$this->assertTrue($this->guest->loadValidOrder($requestMock));
165164
}
166165

167166
public function testLoadValidOrderStoredCookie()
@@ -213,7 +212,6 @@ public function testLoadValidOrderStoredCookie()
213212
->with(Guest::COOKIE_NAME, $this->anything(), $metaDataMock);
214213

215214
$requestMock = $this->getMock('Magento\Framework\App\Request\Http', [], [], '', false);
216-
$responseMock = $this->getMock('Magento\Framework\App\Response\Http', [], [], '', false);
217-
$this->assertTrue($this->guest->loadValidOrder($requestMock, $responseMock));
215+
$this->assertTrue($this->guest->loadValidOrder($requestMock));
218216
}
219217
}

0 commit comments

Comments
 (0)