fix: update integration tests to use correct env variables
This commit is contained in:
@@ -60,12 +60,12 @@ describe('getRecordsByAppId', function () {
|
||||
expect.fail('TEST_SURVEY_ID is not defined');
|
||||
}
|
||||
|
||||
if (process.env.TEST_FIELD_ID === undefined) {
|
||||
expect.fail('TEST_FIELD_ID is not defined');
|
||||
if (process.env.TEST_TEXT_FIELD === undefined) {
|
||||
expect.fail('TEST_TEXT_FIELD is not defined');
|
||||
}
|
||||
|
||||
const appId = parseInt(process.env.TEST_SURVEY_ID);
|
||||
const fieldId = parseInt(process.env.TEST_FIELD_ID);
|
||||
const fieldId = parseInt(process.env.TEST_TEXT_FIELD);
|
||||
const request = new GetRecordsByAppIdRequest(
|
||||
appId,
|
||||
[fieldId],
|
||||
|
||||
Reference in New Issue
Block a user