Skip to content

Commit a1bbcdb

Browse files
author
Serhiy Shkolyarenko
committed
MAGETWO-32501: Implement Cart Service interfaces
unit test fix
1 parent b947e3f commit a1bbcdb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Quote/Api/Data/CartInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ public function getCustomerIsGuest();
136136
public function getCustomerNote();
137137

138138
/**
139+
* Send customer notification flag
140+
*
139141
* @return bool|null
140142
*/
141143
public function getCustomerNoteNotify();

dev/tests/unit/testsuite/Magento/Quote/Model/QuoteRepositoryTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace Magento\Quote\Model;
99

10-
use Magento\Quote\Model\QuoteRepository;
1110
use Magento\Framework\Api\SearchCriteria;
1211

1312
class QuoteRepositoryTest extends \PHPUnit_Framework_TestCase
@@ -64,7 +63,7 @@ protected function setUp()
6463
$this->storeMock = $this->getMock('\Magento\Store\Model\Store', [], [], '', false);
6564
$this->searchResultsBuilderMock = $this->getMock(
6665
'\Magento\Quote\Api\Data\CartSearchResultsDataBuilder',
67-
[],
66+
['setSearchCriteria', 'setTotalCount', 'setItems', 'create'],
6867
[],
6968
'',
7069
false

0 commit comments

Comments
 (0)