diff --git a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/SelfTestTest.java b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/SelfTestTest.java index 4b72526d0db5cffd23ab1038f0672062fff2d351..67a0cb50b2206696a49c5b92becf0ec3944ecd27 100644 --- a/datamover/sourceTest/java/ch/systemsx/cisd/datamover/SelfTestTest.java +++ b/datamover/sourceTest/java/ch/systemsx/cisd/datamover/SelfTestTest.java @@ -23,7 +23,6 @@ import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ch.systemsx.cisd.common.exceptions.ConfigurationFailureException; -import ch.systemsx.cisd.common.exceptions.EnvironmentFailureException; import ch.systemsx.cisd.common.exceptions.Status; import ch.systemsx.cisd.common.logging.LogInitializer; import ch.systemsx.cisd.common.utilities.FileUtilities; @@ -228,7 +227,7 @@ public class SelfTestTest SelfTest.check(localDataDirectory, localTemporaryDirectory, remoteDataDirectory, remoteHost, mockCopier); } - @Test(expectedExceptions = EnvironmentFailureException.class) + @Test(expectedExceptions = ConfigurationFailureException.class) public void testRemoteHostAndDirectoryDoesNotExist() { final String remoteHost = "some_remote_host";