Skip to content

Commit dfea28d

Browse files
committed
MC-17003: Update Totals button is missing from Credit Memo page
1 parent 08b026e commit dfea28d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Sales/Test/TestStep/CreateCreditMemoStep.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ private function isTotalsDataChanged(array $data): bool
140140

141141
foreach ($compareData as $fieldName => $fieldValue) {
142142
if (isset($data['form_data'][$fieldName]) && $fieldValue != $data['form_data'][$fieldName]) {
143-
return false;
143+
return true;
144144
}
145145
}
146146

147-
return true;
147+
return false;
148148
}
149149
}

0 commit comments

Comments
 (0)