[Deprecate Zuora SOAP] Update test helpers and factories to use Zuora REST API
Problem
The test helpers in zuora_test_helpers.rb and stub_zuora_calls.rb are littered with zuora_rest_api
feature flag logic. Also, Zuora object factories create active_zuora
objects (Z::
).
Proposal
We should transition to using the Zuora REST API (IronBank
) where possible in the test helpers and factories.
- Remove the feature flag logic from the test helper files.
- Update the factories to create
Zuora::
namespaced objects, instead ofZ::
namespaced objects.
Result
Cleaner test helpers and factories.