Skip to content

Commit 692b42e

Browse files
committed
MAGETWO-36426: Magento\Quote\Api\GuestCartTotalRepository
- minor changes. removed excessive code
1 parent eaef407 commit 692b42e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

app/code/Magento/Quote/Test/Unit/Model/GuestCart/GuestCartTotalRepositoryTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,17 @@ class GuestCartTotalRepositoryTest extends \PHPUnit_Framework_TestCase
3636
/**
3737
* @var string
3838
*/
39-
protected $maskedCartId = 'f216207248d65c789b17be8545e0aa73';
39+
protected $maskedCartId;
4040

4141
/**
4242
* @var int
4343
*/
44-
protected $cartId = 12;
44+
protected $cartId;
4545

4646
public function setUp()
4747
{
4848
$this->objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
4949

50-
$this->quoteIdMaskFactoryMock = $this->getMockBuilder('Magento\Quote\Model\QuoteIdMaskFactory')
51-
->disableOriginalConstructor()
52-
->getMock();
53-
$this->quoteIdMaskMock = $this->getMockBuilder('Magento\Quote\Model\QuoteIdMask')
54-
->disableOriginalConstructor()
55-
->getMock();
5650
$this->cartTotalRepository = $this->getMockBuilder('Magento\Quote\Api\CartTotalRepositoryInterface')
5751
->disableOriginalConstructor()
5852
->getMock();

0 commit comments

Comments
 (0)