Fix getFormattedRecordByInstanceId test

Description

The functionality implemented in scope of MODSOURCE-54 appears to work correctly when deployed and accessed from Postman, however test fails (either locally or on Jenkins) on the same data. The function get_record_by_instance_id returns empty ResultSet on embedded postgres even though it executes correctly when called directly on the db.
Find out why test fails and fix it.
Refactor function get_record_by_instance_id to contain comprehensive variable names.

Environment

None

Potential Workaround

None

CSP Request Details

None

CSP Approved

None

CSP Rejection Details

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 11, 2019 at 1:27 PM
Updated September 30, 2019 at 8:15 AM
Resolved July 9, 2019 at 2:20 PM
TestRail: Cases
TestRail: Runs

Flag notifications