From e37f341b133e5b2e308f69d49bfab6f856004c17 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Tue, 11 May 2010 14:04:16 +0000
Subject: [PATCH] SE-246 test fixed

SVN: 15913
---
 .../plugin/phosphonetx/server/RawDataServiceInternalTest.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java b/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java
index b319f969d5b..029e9da417a 100644
--- a/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java
+++ b/rtd_phosphonetx/sourceTest/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/RawDataServiceInternalTest.java
@@ -110,6 +110,8 @@ public class RawDataServiceInternalTest extends AbstractServerTestCase
 
                     List<String> dataSetCodes = Arrays.asList("ds-2", "ds-42");
                     HashMap<String, String> parameterBindings = new HashMap<String, String>();
+                    parameterBindings.put("ds-2", "s-2");
+                    parameterBindings.put("ds-42", "s-42");
                     one(externalDataTable).processDatasets(COPY_PROCESSING_KEY, "s2", dataSetCodes,
                             parameterBindings);
                 }
@@ -130,6 +132,7 @@ public class RawDataServiceInternalTest extends AbstractServerTestCase
         {
             Sample sample = new Sample();
             sample.setId(id);
+            sample.setCode("s-" + id);
             sample.setIdentifier("S" + id);
             Experiment experiment = new Experiment();
             experiment.setId(id * 10);
-- 
GitLab