Upgrade should fail if there are discontinued orders with null discontinued_date or discontinued_by values TRUNK 4401

Same here:
Checking that all discontinued orders have the discontinued_by set