File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
app/code/Magento/Sales/Test/Unit/Model/Order Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 7
7
namespace Magento \Sales \Test \Unit \Model \Order ;
8
8
9
9
use Magento \Framework \Serialize \Serializer \Json ;
10
- use Magento \Sales \Model \ResourceModel \OrderFactory ;
11
- use \Magento \Sales \Model \Order ;
12
10
use Magento \Sales \Api \Data \OrderItemInterface ;
11
+ use Magento \Sales \Model \ResourceModel \OrderFactory ;
13
12
14
13
/**
15
14
* Unit test for order item class.
@@ -349,7 +348,7 @@ public function getItemQtyVariants()
349
348
}
350
349
351
350
/**
352
- * Test getPrice() method should returns float
351
+ * Test getPrice() method returns float
353
352
*/
354
353
public function testGetPriceReturnsFloat ()
355
354
{
@@ -359,13 +358,12 @@ public function testGetPriceReturnsFloat()
359
358
}
360
359
361
360
/**
362
- * Test getPrice() method should returns null
361
+ * Test getPrice() method returns null
363
362
*/
364
363
public function testGetPriceReturnsNull ()
365
364
{
366
365
$ nullablePrice = null ;
367
366
$ this ->model ->setData (OrderItemInterface::PRICE , $ nullablePrice );
368
367
$ this ->assertEquals ($ nullablePrice , $ this ->model ->getPrice ());
369
368
}
370
-
371
369
}
You can’t perform that action at this time.
0 commit comments