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 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2014 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Quote \Model \Quote \Item ;
7
7
Original file line number Diff line number Diff line change @@ -236,19 +236,4 @@ public function testCompareItemWithoutOptionWithCompared()
236
236
->willReturn ([]);
237
237
$ this ->assertFalse ($ this ->helper ->compare ($ this ->itemMock , $ this ->comparedMock ));
238
238
}
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
- }
254
239
}
You can’t perform that action at this time.
0 commit comments