Change in ovirt-engine[master]: restapi: Inject test dependencies in the API root

Code Review gerrit at ovirt.org
Fri Jan 27 17:14:59 UTC 2017


>From Juan Hernandez <juan.hernandez at redhat.com>:

Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Inject test dependencies in the API root
......................................................................


restapi: Inject test dependencies in the API root

Some changes that will be introduced in later patches will require that
the objects obtained from the 'BackendApiResource.getInstance()' method
have the HTTP headers and the message bundle injected when running the
tests. This patch performs that change.

Change-Id: Ida801746b21131ae93e678354c0aeb55bd229ad4
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/AbstractBackendBaseTest.java
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/70582
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ida801746b21131ae93e678354c0aeb55bd229ad4
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list