Skip to content

Commit

Permalink
Add --overwrite-existing for the rest of test cases
Browse files Browse the repository at this point in the history
Apperently, the flag does not change anything.
But we add it anyway as the tests for "incremental" data upload.
  • Loading branch information
ruslan-forostianov committed Mar 21, 2024
1 parent cf22859 commit 3191138
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void testInsertNewSampleForExistingPatient() throws DaoException {
ImportClinicalData importClinicalData = new ImportClinicalData(new String[] {
"--meta", metaFile.getAbsolutePath(),
"--data", dataFile.getAbsolutePath(),
"--overwrite-existing",
});
importClinicalData.run();

Expand Down Expand Up @@ -126,6 +127,7 @@ public void testInsertNewSampleForNonexistentPatient() throws DaoException {
ImportClinicalData importClinicalData = new ImportClinicalData(new String[] {
"--meta", metaFile.getAbsolutePath(),
"--data", dataFile.getAbsolutePath(),
"--overwrite-existing",
});
importClinicalData.run();

Expand Down

0 comments on commit 3191138

Please sign in to comment.