Skip to content

Commit 71da244

Browse files
author
a.chorniy
committed
Issue-25968 - Small adjustments after code review
1 parent 28e8e5a commit 71da244

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/code/Magento/Sales/Test/Unit/Model/Order/ItemTest.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
namespace Magento\Sales\Test\Unit\Model\Order;
88

99
use Magento\Framework\Serialize\Serializer\Json;
10-
use Magento\Sales\Model\ResourceModel\OrderFactory;
11-
use \Magento\Sales\Model\Order;
1210
use Magento\Sales\Api\Data\OrderItemInterface;
11+
use Magento\Sales\Model\ResourceModel\OrderFactory;
1312

1413
/**
1514
* Unit test for order item class.
@@ -349,7 +348,7 @@ public function getItemQtyVariants()
349348
}
350349

351350
/**
352-
* Test getPrice() method should returns float
351+
* Test getPrice() method returns float
353352
*/
354353
public function testGetPriceReturnsFloat()
355354
{
@@ -359,13 +358,12 @@ public function testGetPriceReturnsFloat()
359358
}
360359

361360
/**
362-
* Test getPrice() method should returns null
361+
* Test getPrice() method returns null
363362
*/
364363
public function testGetPriceReturnsNull()
365364
{
366365
$nullablePrice = null;
367366
$this->model->setData(OrderItemInterface::PRICE, $nullablePrice);
368367
$this->assertEquals($nullablePrice, $this->model->getPrice());
369368
}
370-
371369
}

0 commit comments

Comments
 (0)