Fix integration tests

This commit is contained in:
Santiago Lo Coco 2023-11-04 22:57:37 -03:00
parent 157636898e
commit cc40e6636c
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
const request = require('supertest');
const app = 'http://127.0.0.1:5000'
const app = process.env.REACT_APP_ENDPOINT ? process.env.REACT_APP_ENDPOINT : 'http://127.0.0.1:5001'
const authCredentials = {
email: 'info@lufthansa.com',

View File

@ -1,5 +1,5 @@
const request = require('supertest');
const app = 'http://127.0.0.1:5000'
const app = process.env.REACT_APP_ENDPOINT ? process.env.REACT_APP_ENDPOINT : 'http://127.0.0.1:5001'
const authCredentials = {
email: 'info@lufthansa.com',