Update Test Environment to use its own local.cfg INSTEAD OF dspace.cfg.more / merging multiple configs

This commit is contained in:
Tim Donohue
2015-11-06 15:58:38 -06:00
parent 9d2af78158
commit 628783fb9e
9 changed files with 151 additions and 389 deletions

View File

@@ -404,7 +404,7 @@ public class ItemTest extends AbstractDSpaceObjectTest
*/
@Test
public void testAddMetadata_7args_1_authority() throws InstantiationException, IllegalAccessException, NoSuchMethodException, SecurityException, IllegalArgumentException, InvocationTargetException, SQLException {
//we have enabled an authority control in dspace-test.cfg to run this test
//we have enabled an authority control in our test local.cfg to run this test
//as MetadataAuthorityManager can't be mocked properly
String schema = "dc";
@@ -504,7 +504,7 @@ public class ItemTest extends AbstractDSpaceObjectTest
@Test
public void testAddMetadata_7args_2_authority() throws SQLException
{
//we have enabled an authority control in dspace-test.cfg to run this test
//we have enabled an authority control in our test local.cfg to run this test
//as MetadataAuthorityManager can't be mocked properly
String schema = "dc";