Skip to content

Commit

Permalink
remove constants, modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
krwong committed Jul 16, 2024
1 parent d6283f4 commit 0555742
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ public void createFilesMigrationTest() throws Exception {
MigrationProjectProperties returnedProperties = projectLoaded.getProjectProperties();
assertEquals(USERNAME, returnedProperties.getCreator());
assertEquals(PROJ_NAME, returnedProperties.getName(), "Project name did not match expected value");
assertEquals(MigrationProject.PROJECT_SOURCE_FILES, returnedProperties.getProjectSource());
assertNull(returnedProperties.getCdmCollectionId());
assertNotNull(returnedProperties.getCreatedDate(), "Created date not set");
assertNull(returnedProperties.getCdmEnvironmentId());
Expand All @@ -226,6 +227,7 @@ public void createFilesMigrationTest() throws Exception {
MigrationProjectProperties propertiesFile = ProjectPropertiesSerialization.read(propertiesPath);
assertEquals(USERNAME, propertiesFile.getCreator());
assertEquals(PROJ_NAME, propertiesFile.getName(), "Project name did not match expected value");
assertEquals(MigrationProject.PROJECT_SOURCE_FILES, propertiesFile.getProjectSource());
assertNull(propertiesFile.getCdmCollectionId());
assertNotNull(propertiesFile.getCreatedDate(), "Created date not set");
assertNull(propertiesFile.getCdmEnvironmentId());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* @author krwong
*/
public class MigrationTypeReportServiceTest {
private static final String PROJECT_SOURCE = "cdm";
private static final String BOXC_BASE_URL = "http://localhost:46887/bxc/record/";
private static final String BOXC_ID_1 = "bb3b83d7-2962-4604-a7d0-9afcb4ec99b1";
private static final String BOXC_ID_2 = "91c08272-260f-40f1-bb7c-78854d504368";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
public class RedirectMappingIndexServiceTest {
private static final String PROJECT_NAME = "proj";
private static final String DEST_UUID = "7a33f5e6-f0ca-461c-8df0-c76c62198b17";
protected final static String PROJECT_SOURCE = "cdm";

@TempDir
public Path tmpFolder;
Expand Down

0 comments on commit 0555742

Please sign in to comment.