Skip to content

Commit

Permalink
schrodinger: import fixes in labs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Dec 21, 2020
1 parent aec144d commit 7c7212f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Expand Up @@ -67,6 +67,7 @@ public class AbstractLabTest extends AbstractSchrodingerTest {
protected static final File ARCHETYPE_ORG_GROUP_LIST_FILE = new File(LAB_OBJECTS_DIRECTORY + "archetypes/archetype-org-group-list.xml");
protected static final File ARCHETYPE_ORG_GROUP_FILE = new File(LAB_OBJECTS_DIRECTORY + "archetypes/archetype-org-group.xml");
protected static final File OBJECT_TEMPLATE_USER_FILE = new File(LAB_OBJECTS_DIRECTORY + "objectTemplate/object-template-example-user.xml");
protected static final File ORG_SECRET_OPS_FILE = new File(LAB_OBJECTS_DIRECTORY + "org/org-secret-ops.xml");

protected static final String DIRECTORY_CURRENT_TEST = "labTests";
protected static final String EXTENSION_SCHEMA_NAME = "extension-example.xsd";
Expand Down
Expand Up @@ -83,14 +83,15 @@ protected List<File> getObjectListToImport(){
@Test
public void mod10test01SimpleObjectTemplate() throws IOException {
importObject(ORG_EXAMPLE_FILE, true);
importObject(ORG_SECRET_OPS_FILE, true);
importObject(NUMERIC_PIN_FIRST_NONZERO_POLICY_FILE, true);
csv1TargetFile = new File(getTestTargetDir(), CSV_1_FILE_SOURCE_NAME);

importObject(CSV_1_RESOURCE_FILE, true);
changeResourceAttribute(CSV_1_RESOURCE_NAME, ScenariosCommons.CSV_RESOURCE_ATTR_FILE_PATH, csv1TargetFile.getAbsolutePath(), true);

hrTargetFile = new File(getTestTargetDir(), HR_FILE_SOURCE_NAME);
FileUtils.copyFile(HR_SOURCE_FILE, hrTargetFile);
FileUtils.copyFile(HR_SOURCE_FILE_7_4_PART_4, hrTargetFile);
importObject(HR_RESOURCE_FILE_8_1, true);
changeResourceAttribute(HR_RESOURCE_NAME, ScenariosCommons.CSV_RESOURCE_ATTR_FILE_PATH, hrTargetFile.getAbsolutePath(), true);

Expand Down
Expand Up @@ -32,7 +32,6 @@

public class M9OrganizationalStructure extends AbstractLabTest{

private static final File ORG_SECRET_OPS_FILE = new File(LAB_OBJECTS_DIRECTORY + "org/org-secret-ops.xml");

@BeforeClass(alwaysRun = true, dependsOnMethods = { "springTestContextPrepareTestInstance" })
@Override
Expand Down

0 comments on commit 7c7212f

Please sign in to comment.