diff --git a/automl/test/automlTablesPredict.v1beta1.test.js b/automl/test/automlTablesPredict.v1beta1.test.js index 675b73c9fd..80d1ea9349 100644 --- a/automl/test/automlTablesPredict.v1beta1.test.js +++ b/automl/test/automlTablesPredict.v1beta1.test.js @@ -21,7 +21,7 @@ const {execSync} = require('child_process'); /** Tests for AutoML Tables "Prediction API" sample. */ -const projectId = process.env.AUTOML_PROJECT_ID; +const projectId = process.env.AUTOML_PROJECT_ID || 'cdpe-automl-tests'; const region = 'us-central1'; const modelId = process.env.TABLE_MODEL_ID; const gcsInputUri = `gs://${projectId}-tables/predictTest.csv`; diff --git a/automl/test/automlTranslation.test.js b/automl/test/automlTranslation.test.js index 9cb8dfe7cf..1317ff6f84 100644 --- a/automl/test/automlTranslation.test.js +++ b/automl/test/automlTranslation.test.js @@ -27,7 +27,7 @@ const cmdDataset = 'node translate/automlTranslateCreateDataset.js'; const cmdModel = 'node translate/automlTranslateCreateModel.js'; const cmdPredict = 'node translate/automlTranslatePredict.js'; -const projectId = process.env.AUTOML_PROJECT_ID; +const projectId = process.env.AUTOML_PROJECT_ID || 'cdpe-automl-tests'; const datasetId = process.env.TRANSLATION_DATASET_ID; const modelId = process.env.TRANSLATION_MODEL_ID;