File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
Test/Unit/Model/Quote/Item Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2014 Adobe
4+ * All Rights Reserved .
55 */
66namespace Magento \Quote \Model \Quote \Item ;
77
Original file line number Diff line number Diff line change @@ -236,19 +236,4 @@ public function testCompareItemWithoutOptionWithCompared()
236236 ->willReturn ([]);
237237 $ this ->assertFalse ($ this ->helper ->compare ($ this ->itemMock , $ this ->comparedMock ));
238238 }
239-
240- /**
241- * test compare two items- when configurable products has assigned sku of its selected variant
242- */
243- public function testCompareConfigurableProductAndItsVariant ()
244- {
245- $ this ->itemMock ->expects ($ this ->exactly (2 ))
246- ->method ('getSku ' )
247- ->willReturn ('cr1-r ' );
248- $ this ->comparedMock ->expects ($ this ->once ())
249- ->method ('getSku ' )
250- ->willReturn ('cr1-r ' );
251-
252- $ this ->assertTrue ($ this ->helper ->compare ($ this ->itemMock , $ this ->comparedMock ));
253- }
254239}
You can’t perform that action at this time.
0 commit comments