From 6ebde66f2adb242f0e5a2370a1687412a86b65f0 Mon Sep 17 00:00:00 2001 From: izabel <izabel> Date: Mon, 7 Sep 2009 12:56:05 +0000 Subject: [PATCH] fix test SVN: 12498 --- .../ch/systemsx/cisd/etlserver/DataStrategyStoreTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/DataStrategyStoreTest.java b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/DataStrategyStoreTest.java index 1c1c39c620c..66a691da538 100644 --- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/DataStrategyStoreTest.java +++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/DataStrategyStoreTest.java @@ -28,6 +28,7 @@ import org.testng.annotations.Test; import ch.systemsx.cisd.base.tests.AbstractFileSystemTestCase; import ch.systemsx.cisd.common.logging.BufferedAppender; +import ch.systemsx.cisd.common.mail.From; import ch.systemsx.cisd.common.mail.IMailClient; import ch.systemsx.cisd.openbis.dss.generic.shared.IEncapsulatedOpenBISService; import ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation; @@ -248,10 +249,11 @@ public final class DataStrategyStoreTest extends AbstractFileSystemTestCase will(returnValue(null)); String replyTo = null; + From nullFrom = null; one(mailClient).sendMessage( with(equal(String.format(DataStrategyStore.SUBJECT_FORMAT, dataSetInfo .getExperimentIdentifier()))), with(any(String.class)), - with(equal(replyTo)), null, with(equal(new String[] + with(equal(replyTo)), with(equal(nullFrom)), with(equal(new String[] { email }))); } }); -- GitLab