Fix customer details spec test checking for order state

Related to #2950 and #2433