Our tests are failing because we remove all adjustments, including ones set in the admin UI.

$order->setAdjustments([]);

We need to actually get all the adjustments, remove ones which are not custom, and then set the remaining.

CommentFileSizeAuthor
#2 adjustments_added_by-2805343-2.patch2.96 KBmglaman

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new2.96 KB

PR https://github.com/drupalcommerce/commerce/pull/506

Make the UI set adjustments as "custom". We discussed this before. Ensure they don't get removed in refresh.

  • mglaman authored 1aa48dd on 8.x-2.x
    Issue #2805343: Adjustments added by the UI are removed in order refresh...
mglaman’s picture

Status: Needs review » Fixed

Merged!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.