[api] Actually delete all line items when testing that transitioning without line items breaks