From b3ce24f768e62c81af8fa538c9bc129ff0c2bdb5 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Tue, 29 Mar 2011 11:13:01 +0000
Subject: [PATCH] LMS-2136 NotifyingTaskTest adapted

SVN: 20533
---
 .../postregistration/NotifyingTaskTest-Example.properties       | 2 +-
 .../cisd/etlserver/postregistration/NotifyingTaskTest.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest-Example.properties b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest-Example.properties
index 8dbd53ae601..37f927d385c 100644
--- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest-Example.properties
+++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest-Example.properties
@@ -1,4 +1,4 @@
 message-template = storage_provider.storage.status = STORAGE_SUCCESSFUL\n\
                    storage_provider.dataset.id = ${data-set-code}\n\
                    ibrain2.dataset.id = ${property:ibrain-data-set-id}\n
-destination-file = targets/notifyingTask.txt
+destination-path-template = targets/ibrain-${property:ibrain-data-set-id}.txt
diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest.java b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest.java
index cb3c5d43346..e3160ee4702 100644
--- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest.java
+++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/postregistration/NotifyingTaskTest.java
@@ -92,7 +92,7 @@ public class NotifyingTaskTest extends AbstractFileSystemTestCase
         assertEquals(NoCleanupTask.class, cleanupTask.getClass());
         assertEquals("storage_provider.storage.status = STORAGE_SUCCESSFUL\n"
                 + "storage_provider.dataset.id = ds-1\n" + "ibrain2.dataset.id = ibrain-2",
-                FileUtilities.loadExactToString(new File("targets/notifyingTask.txt")));
+                FileUtilities.loadExactToString(new File("targets/ibrain-ibrain-2.txt")));
         context.assertIsSatisfied();
     }
 }
-- 
GitLab