From b1d546c5291ff7a6cd2db8bf8c7fea4fba7e36f2 Mon Sep 17 00:00:00 2001 From: Ostap Smolyar <ostap.smolyar@gmail.com> Date: Tue, 3 Jan 2017 17:02:38 +0200 Subject: [PATCH] MTA-3952: Refactoring comments history block in Order module --- .../Sales/Test/Constraint/AssertRefundInCommentsHistory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertRefundInCommentsHistory.php b/dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertRefundInCommentsHistory.php index db16052ed10..80ab8074410 100644 --- a/dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertRefundInCommentsHistory.php +++ b/dev/tests/functional/tests/app/Magento/Sales/Test/Constraint/AssertRefundInCommentsHistory.php @@ -47,6 +47,7 @@ class AssertRefundInCommentsHistory extends AbstractConstraint unset($comments[$key]); } } + $comments = array_values($comments); foreach ($refundedPrices as $key => $refundedPrice) { \PHPUnit_Framework_Assert::assertRegExp( -- GitLab