Skip to content

Commit 48dd17e

Browse files
committed
MAGETWO-55657: Implement new service OrderInvoice
- fix unit tests
1 parent e7f31b9 commit 48dd17e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/Test/Unit/Model/OrderInvoiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function testOrderInvoice($orderId, $capture, $items, $notify, $appendCom
284284
}
285285

286286
/**
287-
* @expectedException \Magento\Sales\Api\DocumentValidationException
287+
* @expectedException \Magento\Sales\Api\Exception\DocumentValidationExceptionInterface
288288
*/
289289
public function testDocumentValidationException()
290290
{
@@ -326,7 +326,7 @@ public function testDocumentValidationException()
326326
}
327327

328328
/**
329-
* @expectedException \Magento\Sales\Api\CouldNotInvoiceException
329+
* @expectedException \Magento\Sales\Api\Exception\CouldNotInvoiceExceptionInterface
330330
*/
331331
public function testCouldNotInvoiceException()
332332
{

0 commit comments

Comments
 (0)